[Pas2js] Picture serialisation into Pascal

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 10 11:26:36 CET 2018


On Mon, 10 Dec 2018 11:10:40 +0100 (CET)
Michael Van Canneyt <michael at freepascal.org> wrote:

>[...]
> I think the streamer in FPC also does this, as there is a separate
> SetParent call, I would need to verify that.

The dfm/lfm format does not store the Parent as property. It is
implicitly given by the nested components. TReader sets Parent and Name
property always before other properties.
TCompWriterPas has an option cwpoSetParentFirst to either write Parent
first behind name or as last property.

Mattias


More information about the Pas2js mailing list