Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Close all Feature
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00233522
Message ID:
00233534
Views:
30
>>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
>
>I would think you could trap for this in the QueryUnload event of the form.

Agreed, maybe just placing NODEFAULT in each Queryunload would accomplish that...though the user might wonder why Close All in the menu doesn't work, perhaps just disabling it might be a good way to go...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform