Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable a node in Treeview
Message
 
 
To
25/03/1998 18:35:56
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00087150
Message ID:
00087179
Views:
25
>I'm trying to disable a node in the Treeview control, with no success.

Here is a kludge:

If you want to disable a node, set the forecolor property of the node to RGB(192,192,192). Then, when the user clicks or double clicks a node - query the forecolor property. If it is RGB(192,192,192) - issue a nodefault.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform