Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview Events don't fire during other events.
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00829632
Message ID:
00829679
Views:
25
>In the NodeClick event of a treeview, I display the details of the node in the right side of the form.
>
>If the user fires two (or more) node click's in a row (particularly when using the keyboard arrow keys to move around in the tree) the events that fire while the first one (displaying details) is happening, never trigger VFP code to fire.
>
>This results in the right side showing the details for the first item to be clicked on, while the tree has selected in it some other item.
>
>I've tried setting _VFP.AutoYield = .F. and THISFORM.oleTREE.Enabled = .F. while updating the details, but neither stops more events from happening to the tree.
>
>Any Ideas?

Have you tried THISFORM.oleTREE.Object.Enabled = .F.?
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform