Alexander Klenin schrieb:

How about Layouter grabbing control of its Parent?
So you can put it on the panel, and it will guide the layout of all
child controls of that panel --
seems logical to me.

This method could work, of course.

But the component will consume space in the control at design time, and it also will be part of the Controls array at runtime - requiring according checks while a layout is recalculated. And it shares other possible flaws with separate layout managers, e.g. the chance for multiple managers assigned to the same control, and/or additional links between control and manager.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to