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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only