When you refer to the 'frame' are you referring to the form? I'm not sure I
know the answer to the question above.
I'm using win32 jargon, because I don't know what else to call it. Every
window/form has a bright red 'X' in the top right corner, right next to the
minimize and maximize buttons. If you click that 'X', and if it is the main
application window/form, then it will cause the application to close. This
is the button I'm trying to work with. In win32 jargon, the location of the
minimize, maximize, and application close button...was called the window
"frame."
I think you would want the validation to occur at every point except when a
Cancel button or some other obvious (to the user) method of bail-out from the
form is used. In my opinion, there should only be one way to exit a form
without saving data that was changed. That would typically be a Cancel button.
Yes, I agree. But the one exception is the "application close" button - the
bright red 'X' in the top right corner. That button should also be obeyed -
particularly when the user is hitting that button in an attempt to completely
close the entire application.
I wish I could set properties on the minimize, maximize, and application
close buttons (which are on every form)...just like I do with regular
controls that I drag and drop onto a form. But I can't (as far as I can
tell). It seems the closest I can get, is setting properties on the form
which has those typical buttons.