Graeme Geldenhuys wrote:
On Wed, Jan 14, 2009 at 3:25 PM, Martin Friebe 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 ComponentS
On Wed, Jan 14, 2009 at 3:25 PM, Martin Friebe 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)?
Regards,
- Gr
Michael Van Canneyt wrote:
On Wed, 14 Jan 2009, Martin Friebe wrote:
Hi,
If a component is loaded from a stream, then csLoading is set in
ComponentState (or so I thought I understood the concept)
So in my component i do "if not(csLoading in componentState)" ...
However I found this does no
On Wed, 14 Jan 2009, Martin Friebe wrote:
> Hi,
>
> If a component is loaded from a stream, then csLoading is set in
> ComponentState (or so I thought I understood the concept)
> So in my component i do "if not(csLoading in componentState)" ...
>
> However I found this does not work in the co
Hi,
If a component is loaded from a stream, then csLoading is set in
ComponentState (or so I thought I understood the concept)
So in my component i do "if not(csLoading in componentState)" ...
However I found this does not work in the constructor Create. csLoading
is only set *after* the Co
Vincent Snijders schreef:
Martin Schreiber schreef:
You could check csLoading of the AOwner parameter.
Thanks. That is a good suggestion. I'll use it if nothing better comes up.
This was simple enough. I used it in r15730 of Lazarus. Thanks.
Vincent
___
Martin Schreiber schreef:
On Wednesday 09 July 2008 23.24:31 Vincent Snijders wrote:
Hi,
This is sequel to this thread of almost two years ago:
http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html
Some things changed (e.g. TComponent.Loading has been added), but I stil
did no
On Wednesday 09 July 2008 23.24:31 Vincent Snijders wrote:
> Hi,
>
> This is sequel to this thread of almost two years ago:
> http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html
>
> Some things changed (e.g. TComponent.Loading has been added), but I stil
> did not find an easy wa
2008/7/9 Vincent Snijders <[EMAIL PROTECTED]>:
> Secondly, why isn't TComponent.Loading called to set the csLoading flag?
That would make sense and be more consistent. I think it might have
been a oversight when TComponent.Loading was implemented.
> IIRC Graeme just needed it protected so he co
Hi,
This is sequel to this thread of almost two years ago:
http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html
Some things changed (e.g. TComponent.Loading has been added), but I stil
did not find an easy way to fix lazarus bug 7305.
Looking at TReader.ReadComponent I hav
10 matches
Mail list logo