Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview disabled
Message
From
29/06/2006 18:09:07
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Treeview disabled
Miscellaneous
Thread ID:
01132931
Message ID:
01132931
Views:
83
I'm having a weird problem with a Treeview. The scenario is kind of a strange one to begin with:

- The Treeview is on a modal form.
- The modal form has a buton that calls a modeless form.
- When the modeless form is called, VFP puts it in a kinda,sorta modal mode. The code in the modal form continues to run after the modeless form is open, but menus are disabled and you can't click on other forms.

So far, this is working exactly how I want it to. The problem occurs when I close the modeless form. The TreeView on the modal form is disabled. I can resize it, but none of the controls nor the scrollbar work in the treeview. I've tried resetting TreeView.Enabled (and TreeView.Object.Enabled) to .T., but it has no effect.

Has anyone seen this one before? It does work properly when I change the modeless form to modal, but there is code in the modal form I want to run after the modeless form is open, so I can't do that.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Next
Reply
Map
View

Click here to load this message in the networking platform