Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars with Menu Bar
Message
De
29/01/1997 15:40:26
 
 
À
29/01/1997 15:36:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00018745
Message ID:
00018746
Vues:
36
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform