Graeme Geldenhuys wrote:
On Wed, Jan 14, 2009 at 3:25 PM, Martin Friebe <f...@mfriebe.de> wrote:
Is this supposed to be like this? How else can I inside Create check if the
component is loaded from a stream?

Could you not use the AfterConstruction() method?  Or is that still to
early (before ComponentState is set)?
Thanks, I'll investigate this. I s this called if the component is created by it's owning class> The "owner" calls within his own create: FSubcomponent := TSubCompnetn.Create(self); // and this should create the default setup

Anyway I found another tip which works well; I can check AOwner.ComponetState for csLoading

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to