Mar 2, 2009 #1 dotolee Technical User Jan 27, 2008 134 CA is there a way to capture when the user clicks on the X button to close the entire application? I need to log the event. thanks.
is there a way to capture when the user clicks on the X button to close the entire application? I need to log the event. thanks.
Mar 2, 2009 #2 Remou Technical User Sep 30, 2002 13,030 BE I think the only way is to have a form that opens hidden when the application is opened. You can put some code in the close event of the form. http://lessthandot.com Upvote 0 Downvote
I think the only way is to have a form that opens hidden when the application is opened. You can put some code in the close event of the form. http://lessthandot.com
Mar 2, 2009 1 #3 danvlas Programmer Jul 30, 2002 2,446 RO I'd rather use the Unload event of such form, as it can be cancelled. Daniel Vlas Systems Consultant Upvote 0 Downvote