Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Something About Menu
Message
 
 
À
18/10/2001 01:29:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00570081
Message ID:
00570154
Vues:
23
>Dear all,
>
>In a menu driven application,
>
>How to disable certain entries in the Popup Menu? and,

The easiest way is to create a property in a global app object for every menu item that you want to control the enabled/disabled property for. In the SKIP FOR clause of the DEFINE BAR, point to that goAPP.MenuItemProperty. Then all you have to do is set the goApp property to .T. or .F. whenever you need to enable or disable a menu item.

You could also just have a single array property in the goApp object, and populate array elements for the menu items.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform