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

Click here to load this message in the networking platform