Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple menu .mpr's
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Multiple menu .mpr's
Miscellaneous
Thread ID:
00164309
Message ID:
00164309
Views:
65
Hi,

In some cases I would like to use 3 .mpr menus:
PUSH MENU _MSYSMENU
DO Main.mpr
* enable user maintainance if user is administrator
IF ALLTRIM(goApp.cUserID) == 'ADMINISTRATOR'
DO UserMaint.mpr
ENDIF
IF goApp.lDebugMode
DO Debug.mpr
ENDIF

Normally, I see the main.mpr and debug.mpr menu pads. If the user is "administrator", then I would also like to display the UserMaint.mpr menu pad. In that case, I do see that menu pad but it replaces the Main.mpr menu pad. I created all the menus in the menu designer.

Can anyone show me the error of my ways <s>?

Thanks!
Vern
Next
Reply
Map
View

Click here to load this message in the networking platform