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 make myMenu appear in myForm

Menus

How to make myMenu appear in myForm

by  ramani  Posted    (Edited  )
**********************************************************
** How to make my MENU appear in my FORM.
**********************************************************
** by Subramanian.G (ramani)
** FoxAcc Software
** ramani_g@yahoo.com
**********************************************************
** To make menu appear on a user 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

Ramani
(Subramanian.G), FoxAcc, ramani_g@yahoo.com
**********************************************************
** EOF
**********************************************************
Evaluate this to make others know how useful is this :)
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top