Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling node EXPAND
Message
 
To
04/07/2001 13:44:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00526722
Message ID:
00526731
Views:
18
>>Hi,
>>
>>i have a form wich has a treeview control. I don´t want to allow some users to expand a node, how can I do that? I am using the Expand event, but it fires AFTER the node is expanded. How can I do that?
>>
>>TIA,
>>
>>Alonso
>
>Alonso,
>Unfortunately I don't know a better way too :(
>In expand set node.expanded = .f. if it shouldn't expand. It works with a visual drawback.
>If you know beforehand those nodes you could remove childs to prevent expand too.
>Cetin

Removing the nodes the user shouldn´t see is a good idea, Cetin. :)

I tried node.enabled = .f. and node.object.enabled = .f., but it doesn´t work (error).

Thanks for your help!

Alonso
Like Frank said: "I did it... MY WAY!"
Previous
Reply
Map
View

Click here to load this message in the networking platform