Is it possible to get an error code or an event when the user clicks on the form close button? Thanks. ... rick