>>>>>>>>>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