Try using the QueryUnload event of the Form object. When you click the "x" button, it triggers the Unload event. By using QueryUnload, you can control whether or not the form closes, and any other functions that you wish to include. -----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.