Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple menu .mpr's
Message
De
04/12/1998 17:38:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00164309
Message ID:
00164318
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform