A simple yes/no question.
Should I cast an object to it's defined type before I Free it?
ie. MyObject(ListBox.Items.Objects[0]).Free
or simply ListBox.Items.Objects[0].Free will do?
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 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
- Re: [DUG]: Destroying Objects jnorth
- Re: [DUG]: Destroying Objects Ross Levis
- Re: [DUG]: Destroying Objects Nello Sestini
- Re: [DUG]: Destroying Objects Nello Sestini
- Re: [DUG]: Destroying Objects Ben Taylor
- RE: [DUG]: Destroying Objects Dennis Chuah
