[Lazarus] Docked Form

Hans-Peter Diettrich DrDiettrich2 at gmx.de
Sat Jun 13 11:17:33 CEST 2015

Am 12.06.2015 um 18:15 schrieb Juha Manninen:
> On Fri, Jun 12, 2015 at 4:03 PM, Maciej Izak <hnb.code at gmail.com> wrote:
>> IMO the best option for Lazarus is synergy of solution from CodeTyphon (the
>> way of handling docked form in many platforms) and FreeSparta (elastic
>> interfaces, it handles many usefull events like:
> Sounds good but how much are you willing to help with it?
> I have now time for Lazarus development but I don't know where to look
> for your docking code or elastic interfaces. We need a patch against
> Lazarus trunk.
Two problems with docking:
1) Delphi-docking is not well supported, else the IDE DockManager could 
be used.
2) The IDE has much code for window placement, all over, instead of a 
common window layout manager.

[1] Could be fixed, but the required patches (of Controls.pas) are 
rejected by the Lazarus team. for "too many changes at a time" :-(

[2] I tried to replace the many window placement calls in the IDE by a 
better window management, but finally gave up. The IDE window managers 
are quite useless, except for the existing inflexible solution. Most 
probably patches will be rejected with the same rationale.

IMO a general layout manager interface would be nice, where 
Delphi-docking, AnchorDocking or any other layout manager could be 
hooked in. But it looks like impossible to remove AnchorDocking from 
Controls, it's too much interwoven with AutoSize and other basic control 
methods, and will cause conflicts with any other layout manager. That's 
why I stopped working on Lazarus a long time ago :-(


More information about the Lazarus mailing list