Hi Vladimir,
For example I have a menu named MyMenu and I want to disable pad 3 of the menu:
SET SKIP OF PAD (GETPAD( "MyMenu", 3 )) OF MyMenu .T.
Set SKIP to .F. to enable. Check out SET SKIP OF and GETPAD(), GETBAR(), etc. Might be an easier way, but this works :-).
Bill
>Hi Bill!
>
>How do you enable/disable menu item without Skip for using?
>
>Have a happy day
>Vladimir Shevchenko
>
>> I was not able to get top level form menu pads/bars to
>enable/disable
>> using the "skip for" clause so I just enable/disable programmatically as
>I
>> need to. Not the most elegant way to do it, but it works. It seems since
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.