Copied fron D5 Help

TObjectList maintains a list of (owned) objects.

Unit

contnrs

Description

Use a TObjectList to store and maintain a list of objects. TObjectList
provides properties and methods to add, delete, rearrange, locate, access,
and sort objects. If the OwnsObjects property is set to True (the default),
TObjectList controls the memory of its objects, freeing an object when its
index is reassigned; when it is removed from the list with the Delete,
Remove, or Clear method; or when the TObjectList instance is itself
destroyed.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Robert Martin
Sent: Thursday, March 22, 2001 11:22 AM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Array - deleting an element


Not having used Delphi 5, what does a TObjectList add over TList?

Rob
Software engineer
Wild Software Ltd
[EMAIL PROTECTED]

----- Original Message -----
From: "Alan Rose" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 10:56 AM
Subject: RE: [DUG]: Array - deleting an element


> You are probably confusing a TStringList with a Tlist. If you have multi
> variable types then a Tlist is a good choice. Look up Tlist.Add for a good
> example. If you have Delphi 5 then TObjectList is another choice.
>


---------------------------------------------------------------------------
    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"

---------------------------------------------------------------------------
    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"

Reply via email to