Information générale
Catégorie:
Contrôles ActiveX en VFP
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement