In the FormClose event I remove the form from our internal list of forms, and then call Release.
 
Stacey
-----Original Message-----
From: Paul Grimstrup [mailto:[EMAIL PROTECTED]]
Sent: Friday, 19 October 2001 11:30 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Debugging Troubles

Call TForm.Release(). This posts a message to the form's queue that will cause it to destroy itself.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bob Osborn
Sent: Friday, 19 October 2001 11:23 am
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Debugging Troubles

Are you calling Free (rather than Destroy) to destroy the forms?
 
Bob

Reply via email to