[fpc-devel] Streaming readonly properties

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Dec 13 20:07:32 CET 2006



On Tue, 12 Dec 2006, vsnijders at quicknet.nl wrote:

> As said in an earlier mail I have problems streaming the 
> property EditLabel: TBoundLabel read FEditLabel;
> of a TLabeledEdit with fpc 2.1.1.
> 
> Some discussion on #fpc led to the conclusion that streaming a readonly persistant should be allowed, because you write to the properties of the readonly persistant property.
> 
> Attached is a proposal to fix it.

Delphi does not stream readonly properties. So we won't either.

The proper solution for this is support for csSubComponent in TComponent.

Michael.



More information about the fpc-devel mailing list