Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbars with Menu Bar
Message
From
29/01/1997 15:40:26
 
 
To
29/01/1997 15:36:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00018745
Message ID:
00018746
Views:
32
>I have an app with a menu bar that is not part of any formset. I would like a toolbar that is also not part of any formset, but tied to the menu bar functions. All of the documents I read tell how to move the toolbar class you create to a formset by dragging it into the formset from the project manager.
>
>How do you activate a toolbar without having a form?

You're thinking as I think. I never approved the toolbar per form as shown in the SAMPLES.

Just create the toolbar object in the setup and show it like this:

* Show the main toolbar
This.oToolBar=CREATEOBJECT('ToolbarObjectName')
This.oToolBar.Show()

Then, in the Activate() and QueryUnLoad() of your baseform, you can deal with the enabling of each button.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform