Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling the toolbar
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00734215
Message ID:
00744620
Views:
14
Hi Tracy,

It has been awhile before I tackle this problem. Currently, I am using a Form class that I created. I don't understand is what do I put in the Activate event of my form class or _Screen.ActiveForm event? Could you provide an example to help me fixed this problem. Thanks again.

P.S. Should I disable the toolbar buttons from the second form prior returning the first form?


>I have two forms using the same toolbar. Let's say I ran the first form and click on the edit button and the Undo & Save button are enabled. But before I clicked on Save or Undo; I decided to run the second form. In the second form I click on the Add button and add new record and click on the save button and close the second form. This will bring me back to the first form. How would I control what buttons were clicked on the first form prior to running the second form? TIA

If this form was a class of FormData, it would be a call in the Activate of the form to see if the toolbar existed, and once it new it existed, call the refresh of the toolbar.

The Toolbar should know to use the _Screen.ActiveForm to update the enabled status of the buttons.

Tracy
Previous
Reply
Map
View

Click here to load this message in the networking platform