Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent User From Leaving Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00383396
Message ID:
00383439
Views:
28
Hi Mark,

>How can I prevent a user from clicking on another form unless they have completed a specific task [under 1 specific condition] on the currently active form. I can not make the currently active form modal because most of the time [90%], the user can jump to other forms.

Disable all menu shortcuts that let the user cycle to another window, eg. CTRL+F1 and CTRL+F6. To prevent the user form activating a form by clicking on it, you can use an ON KEY LABEL MOUSE function that checks the current MWINDOW() and issues WAIT WINDOW "" to "eat" the mouse click, if it's the wrong window. You also might have to disable all menu pads.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform