Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling menu item if table empty
Message
De
01/01/1997 20:01:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00016135
Message ID:
00016296
Vues:
43
>I need to disable my *history* option in my menu if the table is empty. How do I refresh my menu and disable (or enable for that matter) this option without having to open the table and check if it's empty?

From the menu option, you may use SKIP FOR TYPE('_screen.ActiveForm')='O' AND _screen.ActiveForm.lEmpty and maintain that property from the Load() as Tom mentioned.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform