[fpc-devel] Streaming readonly properties

Vincent Snijders vsnijders at quicknet.nl
Wed Dec 13 20:26:40 CET 2006


Michael Van Canneyt schreef:
> 
> 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.

Can you elaborate a bit, what you mean by that? What should be changed 
and where?

Vincent



More information about the fpc-devel mailing list