Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access menu in TopLevel form
Message
From
31/08/2005 10:55:39
 
 
To
31/08/2005 10:36:57
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01045490
Message ID:
01045502
Views:
27
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I need to Enable/Disable the menu bar. I know that I can do this with this commands:
>
>SET SKIP OF MENU _MSysMenu .T. && DisEnable
>SET SKIP OF MENU _MSysMenu .F. &&    Enable
>
>
>But it make changes in the VFP Screen menu and my menu works in a TopLevel form.
>
>So when I execute SET SKIP OF MENU _MSysMenu .T. it disable the VFP Screen menu and not disable my menu in my TopLevel form.

Hi Geraldo,

_MSysMenu is the menu name for _VFP not for your top level menu. You have to know the name of your menu. So if you call your top menu like this:
Do MyTopMenu.mpr with ThisForm, 'mnuTopLevel'
Then disable it this way:
Set skip of menu mnuTopLevel .T.
HTH
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform