>Personally, I prefer to avoid the problem, by disabling the "X" (by setting the form's Closable property to .F. - or the ControlBox property which also disables the Max/Min sizing) - so forcing the user to only use my Exit button.
I would disagree with that technique - it's non-standard, and makes your app appear a little tacky, at least that's my feeling when I see it. It's not that difficult to control all the exit methods...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.