On Mon, 14 Jan 2008, Damien Gerard wrote:

> 
> I often use TObjectLis, which is able to destroy by itself objects in its
> list.
> However, is it the same with a TStringList when an object is added with
> AddObject ?

No.

> 
> I mean when the method .Clear or Delete are called, is my associated object is
> destroyed in the same time ?

No.

> I suppose there is not the case due to there is not the property OwnObject as
> in a TObjectList.

Exactly.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to