Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disallowing checking of nodes in Treeview
Message
From
22/06/1999 05:42:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Disallowing checking of nodes in Treeview
Miscellaneous
Thread ID:
00232371
Message ID:
00232371
Views:
42
Making a wrapper for the Treeview object, I'v stumbled over a problem. I'd like to be able to disallow checking of individual nodes in the tree, and have so far not been able to do this.
I've tried using the NodeCheck() event of the Treeview and setting the .Checked property of the passed node, but as soon as the event terminates, the node is again checked. Even the UI is checking, unchecking and checking back. Nice event handling... :-(
In the NodeCheck event, I've also tried adding NODEFAULT, returning .F., calling DOEVENTS() and trying _VFP.AutoYield but nothing has worked. Don't think I've tried every combination of this, but...
The only way I can think of now is making a hack using a timer, but that's something I'd really like to avoid.
Is there something I've missed?

Thankful for any ideas on this...

Arne
Reply
Map
View

Click here to load this message in the networking platform