Hi,
I'm a newbie Visual FoxPro 9 user and working on my first application.
I used the Menu Wizard to create the desired pull down menus, but I'm not sure what to do with the Menu now
Does the menu get associated with a prograrm or with a form
What I want is to have a main window with this menu on it that is always displayed.
When you select menu options I want pop-up windows to display with the various programs and forms in them.
Any advise on what I need to do to get going in the right direction.
Derek

Created Menu with Menu Wizard - Now what?
Alex Barrett
Hi Derek
When you have your menu open in the designer, there is an option on the system "Menu" menu pad to "Generate". This takes the data you have enetered for your menu and creates an executable file from it.
To run your menu, you must execute this file in your startup program. Something like this:
DO mainmenu.mpr
Now, you should also read up on READ EVENTS in the help file because this is how you put VFP into a wait state so that the user can use your menu. So the next command, after your menu is called should always be:
READ EVENTS
To close your menu you must have, somewhere in the menu code the command to cancel the wait state and this is why you hould use the "PROCEDURE" option for the EXIT item in the menu. The procedure would be:
CLEAR EVENTS
RETURN
As for executing forms and so on, use the "COMMAND" option from the menu and insert the necessary execution command directly in the menu generator.
There is a lot of documentation in the Help file on the menu generator and its use too.
XPress Dave
Davids Learning
The menu has been created as part of a project so following what has been said above should get me going.
When I perform the DO mainmenu.mpr and then read the events, should I have the Do mainmenu.mpr in some sort of a DO look so the menu is still displayed after a menu item is selected and executed
Derek
Bob2unlimited
The end result of generating a menu is a file with the ".mpr" extension. You can open it to view its commands, or you can execute the menu by:
do somemenu.mpr
You should have this command somewhere in your application to start up the menu.
Good luck,
Aleniko