Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to hide submenus for a given condition?
Message
De
22/04/2004 22:28:08
 
 
À
21/04/2004 21:54:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00897092
Message ID:
00897451
Vues:
12
You can use VFP to do this. In the menu designer, click on the options and assign a bar number (like 990). Go into the menu cleanup code (from view menu, general options, cleanup) and add the code to release the bar (where _mfile is whatever name is defined with DEFINE POPUP for the menu pad in question, you may need to look at your mpr to determine).

if ctype#1
release bar 990 of _mfile
endif


>i have ctype!="1" in the skip for of my submenu "change password". this disables submenus if the user's usertype is not 1 - admin.
>
>how can i not show the "change password" at all when usertype is not 1?
>
>TIA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform