Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling menu item if table empty
Message
From
01/01/1997 20:01:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00016135
Message ID:
00016296
Views:
35
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform