[Lazarus] Docking and Layout managers
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Feb 10 00:43:01 CET 2009
On Mon, 09 Feb 2009 23:03:47 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> Mattias Gärtner schrieb:
>
> > At least 90% of TWinControl is about its child controls. The rest
> > is mostly key, mouse and focus handling. I guestimate,
> > TContainerControl will have about 1-3kloc code, 500loc will stay in
> > TWinControl and the remaining 4-6kloc will go to the new
> > docking/layout classes. There is no question, that such a big
> > change is Delphi incompatible.
>
> Not at all.
Do you mean:
a) There no question at all that it will be Delphi incompatible
b) It will not at all be Delphi incompatible, because TWinControl will
not change
?
> > The
> > question is how much:
> >
> > - A lot of code (outside the LCL) relies on the fact, that
> > AControl.Parent is a TWinControl and has a handle (exact: can have
> > a handle).
>
> When a GUI is made of traditional components, then the parents will
> be TWinControls, of course. A form will continue to inherit from
> TWinControl...
I didn't doubt that.
Maybe you can give more details how the gt protected props/methods of
TWinControl should change?
Mattias
More information about the Lazarus
mailing list