Put a messagebox at the beginning of your shutdown routine to ask the user if they're really sure they wanted to click the pretty red X...
rk -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of MB Software Solutions, LLC Sent: Tuesday, October 13, 2009 1:48 PM To: [email protected] Subject: Way to abort shutdown routine? (VFP9SP1) If I want my app's main app window closable so that the user can click the big ol' X in the top-right corner and quit the app, I understand that that's where I put a clear events and other code in the ON SHUTDOWN routine. But once the user clicks on this X, is there a way to abort it and leave the app up? My understanding is that once the on shutdown kicks off, that's it....a one-way ticket out the door with no re-entry. tia! --Mike _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd044065b2a9...@ackbwddqh1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

