Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple menu .mpr's
Message
From
04/12/1998 17:38:27
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00164309
Message ID:
00164318
Views:
22
>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!

Does your UserMaint.mpr APPEND to the existing menu pads, or is it set to REPLACE? Look under View\General Options when you are in the menu designer.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform