Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms related toolbars - how to shut them off?
Message
From
18/02/2004 11:16:02
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:
00878346
Views:
21
>>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
>
Where would I add this code, Paul? Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform