Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu and forms
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00509100
Message ID:
00509123
Views:
17
>I have a problem.
>
>I have a main menu which calls all my forms
>
>If client choose an opition in my main menu while a certain form is open, a error message may appear and cause application to lock.
>
>How can I hide or disable my main menu to prevent client to choose option in menu while any form is open ?
>
>I would like to do this without need to put commands enable/disable
>in all forms
>
>Thanks
>
>Moisés

Moisés,
You can make that one form modal and most (if not all) of the menu options will automatically be disabled (recommended). You could also turn the menu off during form instantiation using SET SYSMENU OFF and turn it back on in the form's destroy.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform