[Lazarus] Streaming TStringList with associated objects
Michael Van Canneyt
michael at freepascal.org
Sat Jun 20 09:56:10 CEST 2015
On Fri, 19 Jun 2015, Mattias Gaertner wrote:
> On Fri, 19 Jun 2015 18:29:58 +0700
> Kiên Nguyễn Tiến Trung <kc97ble at gmail.com> wrote:
>
>> I have a TStringList containing some strings. Each strings is associated
>> with an object typed TPersistent. I realize that, when streaming
>> TStringList, all of associated objects are ignored.
>>
>> What I have to do?
>
> You could a new TStringList descendent and override
> DefineProperties.
Or use a collection.
Michael.
More information about the Lazarus
mailing list