Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem access active form properties from toolbar
Message
From
12/03/2006 02:48:56
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01103430
Message ID:
01103508
Views:
18
Hi Surgey,

Thanks. From the threads you gave me I see that having a top level form is a problem. Unfortunately I have a top level form. I see MSDN talks about designing a state manager to know which is the active form and wether the toolbar should be displayed. But I have no idea where to start with this, how to create etc. My main problem is that I have a top level form with a menu. When I open a form to capture data for example I create a toolbar (add,change,etc). If I minimize that form I want to hide the toolbar if the current active form does not require it. I have added a property to each of my forms to determine if they need this toolbar. In the refesh method of the toolbar I use "_screen.activeform.property" to check if I should hide the toolbar or not. But then I get the error "Active.Control" is not an object. How do I control when the toolbar should be visible or not
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform