[Lazarus] Streaming TStringList with associated objects

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 19 13:40:57 CEST 2015


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.

Mattias




More information about the Lazarus mailing list