Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VISUAL FOXPRO 6.0

Status
Not open for further replies.

lastimosa

Instructor
Aug 13, 2002
15
PH
Im new in visual foxpro programming. But when I tried to create a menu I could be able to execute it.
 
the file mymenu.mpr does exist. It guess there is problem in the creation of mymenu.
 
the file mymenu.mpr does exist. I guess there is problem in the creation of mymenu.
 
That was just an example. Did you use the menu designer? Or do you make by code?
 
I used the menu designer but I did not able to create it successfully. I run mymenu at the command window.
 
I think you restated your question elsewhere on this board and I believe you have your answer. After you created your menu, you have to compile it, so in the end you end up with 2 files one with .mpr extension and one with .mnx extension. And it's the one with .mpr extension that gets generated with the compile command and it's the one you need to run your menu.
 
to generate your mpr from the menu:

open the menu
from the menu select menu -> generate.

now you can DO myMenu.mpr Attitude is Everything
 
Just to add to danceman's information, when a Menu is part of a projrct, the generation and compilation of the .MPR is automatically handled by the project manager when you do a build. If you are working outside of a project, then you are "agreeing" to handle some of the details it normally takes care of.

Rick
 
Thank you very much for your answers. I was not able to generate the menu I created from Menu menu. But one more thing, I want my menu created to be activated on the form I want. How it is done.

Thanks.
 
make the form top level

in the init of the form

do mymenu.mpr with this, .t. Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top