Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu and menu designer
Message
De
02/08/2002 23:57:30
Wally Noll
Double Aa Builders
Mesa, Arizona, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00685739
Message ID:
00685804
Vues:
10
Hooman,

There is definitely a solution.

In the visual tool that VFP has provided for building menus you select the 'Options' checkbox. Then a little window comes up. You see the SkipFor entry box. You enter a logical variable or some logical equation there. It works like a charm. If you want the entire menu disabled, then you would probably define an object property (application object) something like DisableMenu and when it is .T., the menu would be disabled, when .F. the menu would not be disabled. You would put 'oAppObject.DisableMenu' into that 'SkipFor' box after you check Options in the menu builder. Or, if you don't use application objects, then you could define the variable as a global variable and switch it from .T. to .F. any time you want the menu on or off.

Wally
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform