Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Closure of Modeless during Process
Message
 
 
To
03/04/2008 16:24:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01308031
Message ID:
01308145
Views:
9
>I have a modeless form. When the user selects an 'Execute' button on the form how to prevent the user from then closing the modeless form while the method is executing? The 'Execute' commandbutton does not close the form at completion. But I do not want the user to try to close the form either in the middle of the process as it may be long running (I am displaying a status indicator). Thanks.

Well, I was thinking how to disable this x (controlbox). I thought this topic could have been discussed in the Russian forum, but the only topic I found was this:

http://forum.foxclub.ru/read.php?29,266913,page=1

(see the code to add items to the system menu).

Not helpful for this question, but just in case...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform