Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView and cursor keys
Message
De
20/07/1999 17:01:22
 
 
À
20/07/1999 13:30:52
Timothy Enright
Coos Bay Public Schools
Coos Bay, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00243664
Message ID:
00243843
Vues:
27
>NodeClick() is pretty pretty slow when I cursor from one node to another. This is fine when a user clicks the node with a mouse because a short delay is expected as the listview reloads.
>
>However, when navigating with the keyboard is another story. How might I handle this?

This is kind of a kludge, but how about checking how the node was selected (if MDOWN() is .T. or MouseDown fired, the user clicked on it with a mouse) and if it was by keyboard, reset a timer. When the timer fires, refresh the ListView. The timer will get keep getting reset if the user continues to move down using the arrow key; once they stop, the timer will fire.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform