Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Menu Bar Items
Message
De
29/01/1997 14:08:02
 
 
À
29/01/1997 14:00:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00018733
Message ID:
00018735
Vues:
35
>Does anyone know how to disable menu bar items say if a database (table) has no records in it. I know how to check for records, but can't seem to find any info on disabling Menu Bar choice. By the way the choices that I need to disable are in submenus.

Usually, the enabling of the menu is driven by the toolbar which the enabling is driven by the active form. So, you might have this in the skip clause of the menu item: NOT oApp.oToolBar.cmdDel.Enabled. The active is responsible of enabling or not the cmdDel in the toolbar.
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