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:
00734239
Views:
19
>Hi,
>
>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
Tracy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform