Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView and cursor keys
Message
De
20/07/1999 18:47:50
Timothy Enright
Coos Bay Public Schools
Coos Bay, Oregon, États-Unis
 
 
À
20/07/1999 17:01:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00243664
Message ID:
00243895
Vues:
24
>>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

Doug - thanks for the reply and enjoyed your articles on the subject!

MDOWN() does not fire within the treeview control and the lastkey() doesn't report correctly.

...tim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform