>Hi Everybody !
>
>Can I assign a method to be executed when the user closes a form by clicking Window´s close control box on the upper right hand corner, or can I assign this button the same click method of the form´s CANCEL button ? Do I explain myself ?
>
>Thank you
If you put code in the QueryUnload method, you can stop the form form exiting if need be by executing a NODEFAULT.