[fpc-devel] Subcomponents

Marc Weustink marc.weustink at cuperus.nl
Fri Apr 15 11:29:51 CEST 2005

From: fpc-devel-bounces at lists.freepascal.org
[mailto:fpc-devel-bounces at lists.freepascal.org]On Behalf Of Michael Van
Sent: vrijdag 15 april 2005 9:24
>On Fri, 15 Apr 2005, Marc Weustink wrote:
>> Hi,
>> Attached is a patch to enable subcomponents to be streamed.
>> Added are the csSubComponent and the csTransient ComponentStyle
>> When the csSubComponent style is set for a published TComponent type
>> property, all properties of this component are written (like it was a
>> TPersistent)
>> When the csTransient style is set for a component, it
>> indecates thet it is a temporary object and the
>> properties aren't written.
>But is does not need to be csSubcomponent to be csTransient ?

Don't know. I read the description of csTransient and while I was at
csSubcomponent, implementing it wasn't a big deal. I've no idea in what
situation you would use it.

>Anyway, thank you.
>The patch is applied.



More information about the fpc-devel mailing list