If you pass True to the TObjectList constructor (the default is also True ), the list frees any object as soon as you remove it from the collection, whether you use Delete , Remove or Clear .
In addition, a TObjectList can be used in the same way as a TList .
jpfollenius
source share