Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Menu based on level
Message
From
26/07/1999 06:44:05
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
26/07/1999 06:42:10
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00245699
Message ID:
00245991
Views:
15
>Hi Craig,
>
>Thanks for the try, I guess I'll have to build them on the fly.
>
>Thanks
>
>>>Hi Craig,
>>>
>>>That only seems to work if I set the .cUserLevel prior to running the menu for the first time. Any ideas?
>>>
>>>John
>>>
>>
>>Right. The value is evaluated at the time the menu is created. If you want to change the menus at different times during the application, you'll need to dynamically build them everytime they are selected.

You could use my menu classes from the files section. They make run-time menu changes really easy.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform