Neven MacEwan wrote:
> the std answer is NO especially when the object has no owner.
Thanks for all the replies! I thought it was a simple Yes/No question.
My concern is with simple static objects defined as 'class' which I'm linking to
listbox.items.objects. I presume since I'm not defining an owner, then I need
to run through the Objects array and destroy all the linked objects when I exit
the application. I'm currently only destroying the objects when I delete a list
item.
However, if I define the objects as 'class(TObject)', rather than just 'class',
is this any different?
Cheers,
Ross.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
- RE: [DUG]: Destroying Objects Patrick Dunford
- RE: [DUG]: Destroying Objects Sergei Stenkov
- RE: [DUG]: Destroying Objects Alan Rose
- RE: [DUG]: Destroying Objects Myles Penlington
- Re: [DUG]: Destroying Objects Alex Kouznetsov
- Re: [DUG]: Destroying Objects Nello Sestini
- RE: [DUG]: Destroying Objects Myles Penlington
- Re: [DUG]: Destroying Objects Nello Sestini
- Re: [DUG]: Destroying Objects Chrissy R
- Re: [DUG]: Destroying Objects Neven MacEwan
- Re: [DUG]: Destroying Objects Ross Levis
- Re: [DUG]: Destroying Objects Nello Sestini
- Re: [DUG]: Destroying Objects Chrissy R
- RE: [DUG]: Destroying Objects Steve Aish
- RE: [DUG]: Destroying Objects Stephen Bertram
- RE: [DUG]: Destroying Objects jnorth
- RE: [DUG]: Destroying Objects Andreas Toth
- Re: [DUG]: Destroying Objects Neven MacEwan
- RE: [DUG]: Destroying Objects Dennis Chuah
- Re: [DUG]: Destroying Objects Chrissy R
- RE: [DUG]: Destroying Objects Dennis Chuah
