I can't answer the question, but it seems a likely culprit to me. Are there any cases where it can refuse to close without displaying something (MsgBox) to the user for action?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Meek Sent: Tuesday, 13 September 2005 10:31 PM To: 'Borland's Delphi Discussion List' Subject: RE: WinXP Pro Sp/2 w/Delphi 2005 patch 3 Not what I would call special! <g> Basically I check to make sure all dynamically created forms are indeed nil, and if not I call their own close events, then I write some info to an inifile, call an Archiving procedure that zips up a few files, and then finally I set CanClose to True. Note: All this is in the mainform's OnCloseQuery event. Come to think of it, I usually just place stuff like this in the mainform's OnClose event, but this time I didn't because there are certain conditions that can come up in which I don't want the app to shut down. That's why I put it in the OnCloseQuery this time. Could that be the culprit? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

