Information générale
Catégorie:
Gestionnaire de menu & Menus
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement