Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView and cursor keys
Message
From
20/07/1999 18:47:50
 
 
To
20/07/1999 17:01:22
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00243664
Message ID:
00243895
Views:
18
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform