Re: When to create TCustomControl's child controls?
- From: "Bruce Roberts" <dontsendtober@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Oct 2005 10:31:15 -0400
"Riaan" <rmoll@xxxxxxxxxxxx> wrote in message
news:1130404489.821258.246800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'd been so used to creating VCL components that are dropped on the
> form (with static child controls in them) that I had forgotten the
> principles of why my code was misbehaving.
>
> while true do WriteLn('Riaan is an idiot');
Not a chance ;). One of my real frustrations with the VCL design is the
non-orthagonal handling of dynamic and streamed components. Both are
created, but not the same way and Loaded is only called in the later case.
Other than the constructor there is no hook that I'm aware of which is
called by both creation types.
.
- Follow-Ups:
- References:
- When to create TCustomControl's child controls?
- From: Riaan
- Re: When to create TCustomControl's child controls?
- From: alanglloyd
- Re: When to create TCustomControl's child controls?
- From: Riaan
- Re: When to create TCustomControl's child controls?
- From: Riaan
- When to create TCustomControl's child controls?
- Prev by Date: Re: Version after Version
- Next by Date: Re: Version after Version
- Previous by thread: Re: When to create TCustomControl's child controls?
- Next by thread: Re: When to create TCustomControl's child controls?
- Index(es):