Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - How do you disable a menu from a program?
Message
From
02/05/1997 10:23:25
 
 
To
02/05/1997 10:18:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00030583
Message ID:
00030625
Views:
55
>>>>>>>>>How do you disable or gray out a menu from within
>>>>>>>>>a program?
>>>>>>>>
>>>>>>>>Menu designer allows to 'Skip' item (actually disable it) depending on some variable value. So, the only thing you have to do is to change this variable in the program.
>>>>>>>thanks... I want to disable the whole menu. Can you mymenu.enable = .f. ?
>>>>>>
>>>>>>Disable whole menu? That's interesting idea. The normal way is to remove menu temporarily using PUSH MENU, SET SYSMENU TO, POP MENU.
>>>>>
>>>>>All I want to do is to GRAY OUT a menu option...?
>>>>
>>>>To gray out a menu option you should follow my first reply. If you want to disable many option you should do this many times.
>>>
>>>That option must be in vfp30 and not vfp50, because I can not find it..
>>>I am using vfp50...
>>
>>This is the oldest Fox feature and definitily in 5.0 menu designer (just take time to look at Menu Designer carefully)- 'Options' button on right side of Menu Items List.
>
>
>thanks On right side of Menu Items List it says:
>1. Menu level
> a) Menu Bar
>2. Item
> a) Insert
> b) Insert Bar...
> c) Delete
>3. Preview

Look inside the list (Prompt,Result,Options columns).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform