Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms related toolbars - how to shut them off?
Message
 
To
02/11/2003 11:34:43
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00845438
Message ID:
00845591
Views:
17
>Greetings!
>
>The application I am working with does not fit in well with menus and toolbars. I want to use the main menu and toolbar, mainly to EXIT the application, that's it.
>
>Questions:
>1. How do I eliminate, turn-off, hide, etc. the rest of the main menu?

Just modify the AddChildren() method of the AMenus::MainMenu class.

>2. How do completely eliminate the navigation toolbar and menu that appears when a form is displayed.
>

John answered this already - clear the cToolbar property of your forms. That will leave the "Exit" button, though. To completely remove the toolbar, you can do something like:
IF TYPE("goApp.oMainToolbar") = "O" AND !ISNULL(goApp.oMainToolbar)
   goApp.oMainToolbar.Release()
ENDIF
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform