Hello
PUSH MENU _MSYSMENU will do the job for you. The main menu have a specific name: _MSYSMENU.
Hope this helps
>I have a main menu for my application. I am trying to create an alternate menu which appears when a specific form is called.
>
>In the Init method of the form I have the following code:
> push menu MainMenu
> do FormMenu.mpr
>
>This produces the error:
> Menu has not been defined with Define Menu.
>
>When I examine the code generated by Foxpro in "Generate Menu", the code does not include a define menu statement. Is this a bug? Do I have to hand-code the menu definition? Am I doing something wrong? Does Foxpro not understand it's own menu definitions? What can I do?
Grigore Dolghin
Class Software.