Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide submenus for a given condition?
Message
From
22/04/2004 22:28:08
 
 
To
21/04/2004 21:54:47
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00897092
Message ID:
00897451
Views:
11
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform