Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding Menu Bars
Message
 
À
04/02/2002 17:52:14
Bill Breay
Custom Business Software
Arvada, Colorado, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00615131
Message ID:
00615717
Vues:
21
Bill,

>I need to be able to hide certain menu bars at the time the applicatiion starts. Any suggestions as to where this should be done?

You can dynamically hide and show menu bars at runtime by calling the menu bar’s Hide() and Show() methods respectively. For example, in the Framework’s sample Project Manager application, you can hide the Activities | Client Entry menu bar as follows:

GOAPP.oMenu.oActivitiesPad.oActivitiesPopup.oActivitiesClientEntryBar.Hide()

You can then show the menu bar as follows:

GOAPP.oMenu.oActivitiesPad.oActivitiesPopup.oActivitiesClientEntryBar.Show()


Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform