(VFP) - How to make menu appear in my form

1. Open the menu (modify menu), the menu gets opened with the wizard... then ...
Choose from the system menu..View..GeneralOptions.
Select Top-Level Form... Click OK

2. Again from the system menu ... choose ...
Menu... Generate... Generate
This will generate the menu mpr file

3. Now open the main form.
Set in the properties,
ShowWindow = 2 && As top level form

In the InitEvent of the form.. put the code
DO myMenu.MPR WITH THIS

4. Compile and run

Comments

Popular posts from this blog

(VFP) - Running Visual FoxPro on Linux

(VFP) - How To Run Exe File and include them to your Project

(VFP) - How to put calendar on your vfp application