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/