Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Level Form Menu Keyboard Short cuts
Message
From
08/08/1997 14:35:26
 
 
To
08/08/1997 12:27:43
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00043210
Message ID:
00043757
Views:
58
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform