Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level Form Menu Keyboard Short cuts
Message
De
08/08/1997 14:35:26
 
 
À
08/08/1997 12:27:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00043210
Message ID:
00043757
Vues:
54
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform