Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Close all Feature
Message
From
25/06/1999 00:41:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00233522
Message ID:
00233831
Views:
29
Paul,

As far as I know, there are only two ways to do this:

[1] Remove the _MFI_CLOSE bar from the _MEDIT popup and replace it with your own Close bar and give it the behavior you want.

[2] Put NODEFAULT in the QueryUnload Event of your forms.


>I have some forms that I do not want the user to be able to close without choosing the exit option from a toolbar. I have made set the forms' closable property to .f.. However, one can still choose the 'Window' menu option and choose 'close all' and this will still close these forms. How can I keep this from happening?
>
>Thanks,
>Paul
- Jeff
Previous
Reply
Map
View

Click here to load this message in the networking platform