Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Menu based on level
Message
From
24/07/1999 09:48:46
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
24/07/1999 07:44:10
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00245699
Message ID:
00245709
Views:
12
>I am doing an application where the normal user is not required to log on. The normal user only needs to see some of the menu. What is a good way to show additional menu items if an advanced user logs on and the oApp.cLevel property is set to a numeric value. I don't want the disabled menu items and columns to even show up normally so as not to confuse the normal user.
>
>Thanks

You can either
a) Define and run a full menu, then release the pads that don't apply to the normal user.

b) Define and run a restricetd menu, then define a second 'super user' menu. This second menu can either be a complete copy of the restricted menu with the extra options added in, or can just contain the extra super-user options.

If its a complete replacement menu:
Start System
Run Standard menu
Detect SuperUser
SET SYSMENU TO
Run SuperUser menu


If you have a second menu hust containing the super user options, check the Append option in the VIEW-GENERAL OPTIONS screen., then do as above, but without the SET SYSMENU TO, and the new options will be appended to you standard menu.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform