[lazarus] Add lcl component
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Nov 13 15:07:41 EST 2002
On 13 Nov 2002 14:12:20 -0600
Tony Maro <tony at maro.net> wrote:
> On Wed, 2002-11-13 at 11:55, Mattias Gaertner wrote:
> >
> > There is comma too much in customidecomps.suggested.pas in line 50.
> >
>
> Yep. Thanks!
No problem.
Good examples.
> > Second issue:
> > Can TCheckBook contain child controls?
> > (csAcceptsControls is set in ControlStyle)
>
> Mmm... okay this is new for me...
>
> I've tried: ControlStyle := ControlStyle - csAcceptsControls; in the
> create method. I get "Set elements are not compatible".
>
> How do I change this?
ControlStyle := ControlStyle - [csAcceptsControls];
> Also, if I set this to not accept controls, can I later still add a
> TEdit control to it programmatically?
Yes. It's a designer only flag. The LCL don't care about it.
Mattias
More information about the Lazarus
mailing list