[fpc-pascal] TStringList

Damien Gerard milipili at shikami.org
Mon Jan 14 14:37:44 CET 2008


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 ?

I mean when the method .Clear or Delete are called, is my associated  
object is destroyed in the same time ?
I suppose there is not the case due to there is not the property  
OwnObject as in a TObjectList.


--
Damien Gerard
milipili at shikami.org

Le temps n'a pas d'importance. Seul le code est important
    -- (f00ty)







More information about the fpc-pascal mailing list