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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Use Menu On Main Form

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
0
0
US
New To VFP. I built a menu using the menu wizard but I can't get it to launch in my app. I used the following lines in the INIT Event of my main form. What am I missing here?

define menu_cspi
activate menu_cspi

The activate line failed.

Thanks

 
Assuming your menu bar is "_cspi"

If u wanna do the menu using wizard,
After creating, dont close it.
Choose Menu->Generate->Generate.
You'll now have _cspi.mpr
Add this line in the your main form Init Event:
Do _cspi.mpr


Or u can do this in old-fashioned way either,
just refer to "ACTIVATE MENU" in FoxPro's help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top