Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable a node in a TreeView
Message
From
01/02/2003 12:36:38
 
 
To
01/02/2003 07:06:26
Moacyr Zalcman
Independent Consultant
São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00747987
Message ID:
00748015
Views:
23
The only way I could find to do it was to keep track of the currently selected node (or figure it out at nodeclick time), and if the clicked node is to be 'disabled', set the treeview's selecteditem back to the currently selected node.

It isn't as clean as I'd like because there is a bit of a cursor flip, but in general it works ok.

Alan

>Hi, everybody
>
>Is there any way to disable a specific node in a Treeview, or to blockade the user acess to it?I´d like to show the node to the user but not to allow the acess to it.
>
>TIA
>
>Moacyr
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform