Title: Message
Set it up as an interface - or if its thread based use the freeOnTerminate property.
 
Nahum.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Paul Mckenzie
Sent: Thursday, 18 March 2004 16:23 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Self Freeing

But I want to self Free - ie immediately after executing its event it frees itself (eg OnClick).
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 
----- Original Message -----
Sent: Thursday, March 18, 2004 4:07 PM
Subject: RE: [DUG] Self Freeing

Explicitly free it when you are done with it (maby add it to a list?) or set its owner to something valid so when the owner component is freed the dynamically created component will also be freed.
 
Stacey
-----Original Message-----
From: Paul Mckenzie [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 March 2004 15:55
To: Delphi List - Delphi
Subject: [DUG] Self Freeing

What is the best way for a dynamically created component to free itself ?
 
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to