Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview
Message
From
18/07/1999 15:40:07
 
 
To
18/07/1999 07:34:00
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00241602
Message ID:
00242894
Views:
19
>Stefan,
>
>What about a workarround ? By putting a transparent shape over the treeview you can disable all events for the treeview. By disabling the shape it reacts on the events again.
>
>Walter,


Stefan,

Got the desired 'disabled' behavior when I used the treectrl property
sheet found when right clicking on the treeview. Unfortunately, changing the
state of enabled programmatically had little affect on the treeview behavior.

Found it interesting that some other users had better success...

Realized the treeview I was testing wasn't subclassed. Tried it and seem
to be getting the desired behavior.

To subclass an activex control

Type 'Create Class yourtreeview of yourclass as olecontrol'

Select 'Insert Control' in the dialog box
Select treeview control
Hit Ok

Joe
Previous
Reply
Map
View

Click here to load this message in the networking platform