[Lazarus] Docking and Layout managers
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Feb 9 23:03:47 CET 2009
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.
> 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...
DoDi
More information about the Lazarus
mailing list