Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Block action in a Treeview
Message
From
22/10/2001 13:21:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/10/2001 13:20:28
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00571726
Message ID:
00571727
Views:
22
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>Is there a way to block a user from doing anything in a Treeview control. I don’t want the user to be able to click or dblclick nodes during edit mode. I can stop the code in the Expand & collapse methods. But can’t stop the node from expanding & collapsing. I tried using an invisible container over the control. And played with the ZORDER. But the treeview always stays on top. I put the treeview in a container. Then added an other container to the form. And played with the zorder of the 2 containers. It still stayed on top. Changing the Enabled property does nothing to help. What can I do?
>
>TIA
>Mike

OleTree.object.enabled=.f.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform