Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Something About Menu
Message
 
 
To
18/10/2001 01:29:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00570081
Message ID:
00570154
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform