Adrián,
The menu generator should have added a parameter statement to your MPR file. To make sure the menu is configured as a Top-level form menu select View - General Options while the menu Designer is active and check the Top-level Form checkbox.
HTH.
>Maybe it´s a stupid question, but I can load my menu to my main form (Top Level). I made and generate it, I have a .MPR file, and this is my code at Init Event:
>
>
DO menuadprin.mpr WITH this, .T.
>
>When I try to run the form, there´s a message Error:
>
>
No PARAMETER statement is found.
>
>which point to the file menuadprin.mpr, at a instruction that just says:
>
>
SET SYSMENU TO
>
>I know that I´m missing something, but I don´t have any clue of what. Using VFP 7 SP1.
>
>Thanks in advance!
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao