>>>>>After the user picks an option from the MENU, I would like
>>>>>to GRAY OUT that option. How would I do that?
>>>>>thanks..
>>>>In the menu designer (or with SET SKIP FOR), under options, give an expression in the Skip For box. In the procedure that is fired for that menu item, set that expression to .T.. There is probably an easier way, but this is what I use.
>>>>
>>>>Erik
>>>
>>>Erik - SET SKIP FOR PAD mypad _MSYSMENU .T. - this works.
>>>the problem is my PAD NAME (mypad) is generated and it changes.
>>>How can I get around this?
>>
>>Hi, Rob.
>>Your problem will be resolved if you:
>>1. Put logical variable (e.g. lSkipmenu) into SKIP FOR Dialog Box of Menu Designer.
>>2. Now the only thing you have to do is to toggle lSkipmenu value from your application. It's a good idea to use not plain public variable, but app object property.
>
>Hi Edward and thanks for answering..
>OK - I put a variable in the SKIP FOR area and named it "maintmenu"
>2. In my oApp, I made a PROPERTY call "maintmenu" and set it to .F.
>3. In the INIT EVENT of the FORM that is called from the MENU OPTION
> I want to gray out, I coded THISFORM.MAINMENU = .T.
>4. The menu does not gray out?
>thanks ..rob
Rob, you should specify something like oApp.mainmenu in Menu Builder' Skip Dialog
Edward Pikman
Independent Consultant