Dan Olsson wrote: > At 2008-10-02 03:34, you wrote: >> It's not a FORM in question -- it's the VFP app window....the >> _SCREEN. No problems with forms, as I'd handle that as you'd expect. > > So why don't you let them close the app with the X? > Maybe using the ON SHUTDOWN to handle whatever...
The honest answer is that I think no previous developer had bothered with it. How's that for brutal honesty???!?!? That would be the best way to handle it, for sure. But then you'd have to have code to deal with all of the open windows, and somehow gracefully close them. By gracefully, I mean ask the user if their uncommitted changes should be saved. But, these forms do NOT have such a good framework in place for recognizing outstanding changes, so hence this option would be a royal PITA. And I don't think it's right to just close the forms without asking. What event fires when you click the app's X? Yeah, I could set up Profiler and find out for myself, but I've got about 4 fires burning at present and figured a good fellow dev could just tell me. ;-) _______________________________________________ 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/[EMAIL PROTECTED] ** 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.

