>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.
>SET SKIP OF MENU _MSysMenu .F.
>
>
>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