Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling menu items in a top-level form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125750
Message ID:
00125922
Vues:
12
>I'm having problems disabling menu pads on a menu on a top-level form. I have created the menu pads with user-defined names. Some menus are
>disabled via a SKIP FOR based upon a global variable. However, when this variable is true, the menu items do *NOT* disable until they are
>selected *then* they disable.
>
>However, if I change the menu so it's NOT a menu in a top-level form, it runs correctly.
>
>Any suggestions for fixing this problem?

I use a top-level form/formset Method, something like "Topform.Setmenu()"; it's called whenever needed to enable/disable menu items (and toolbar also). SKIP FOR works fine this way on a top-level menu...no need for a global var.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform