Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Menus
Message
 
To
10/02/2000 06:11:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00329903
Message ID:
00329913
Views:
19
>My main program calls up a menu. Upon selecting an option from the menu, a form comes up. But the user still has a choice to go back to select other menu selections. HOw can I keep this from happening? I guess I need to find a way to disable all menu choices while a form is active? Can anyone tell me how to do this or if this is the best route to take...and safest?
>
>TIA
>

Jeff,

The easiest way to accomplish what you are asking is to make all forms Modal, set the WindowType property to Modal. This will disable the menus when one of the forms is alive.

The better design is to make all forms have private data sessions and allow the user to opne as many forms as they like. However, doing this means your code has to make allowance for other forms being open and needs to keep track of these forms somehow.
Previous
Reply
Map
View

Click here to load this message in the networking platform