Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple menu question
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00094540
Message ID:
00094551
Views:
24
>I have many forms in my app but only one menu I call mainmenu. Based on user access rights I disable/enable each menu item in the menu designer. What I would like to do is have a seperate menu for each form. I've played around with push & pop menu and some other menu commands, but I can't get it to work quite right. what is the best approach to accomplish this? Thanks for any suggestions!!
>
>john.

You mean, you want to attach specific menu to a specific form:

Check Top Level Form of General options. Then make your forms ShowWindow property as Top Level form, then at Init() method issue:

DO mainmenu.mpr WITH This

If not, another suggestion is to create a menu specific to a form and use Set Sysmenu to desired_menu at the Activate event of the form.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform