Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding Menu Bars
Message
 
To
04/02/2002 17:52:14
Bill Breay
Custom Business Software
Arvada, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00615131
Message ID:
00615717
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform