Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu and menu designer
Message
From
02/08/2002 23:57:30
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00685739
Message ID:
00685804
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform