>>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.