Most widgetsets do not allow for dockable forms natively. That's why I had implemented an workaround with a visual dock-grabber component, that has to be added to all dockable forms. Due to some problems with the placement and visibility of such a control, I now dropped it again.

The new platform independent solution wraps all dockable forms into another (floting dockhost) form, which shows an (small, Delphi style) dockheader, that can be used to dock the client form. At the same time such dockable forms can be docked together without further coding, or other workarounds like an anchor docking manager with no drag-dock support.

If you want to have an look at the current state of docking, I suggest you the dockmanager/MiniIDE example. Due to some bugs in the new autosize implementation you may have to rebuild the LCL with -dOldAutoSize, before the examples work properly. These problems can be spotted better with the minimalistic MakeSite project, that does not bury the problems under excess example code (see fMasterSite.pas).

There seems to exist a problem with the MakeSite save/restore layout now, not observed in the MiniIDE, which I hope to fix soon. Afterwards I'll have an look at the IDE integration, that I could not make work sufficiently yet - many IDE forms refused to become dockable. Perhaps I'll have more luck the next time, or somebody can help me with this issue...

DoDi


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

Reply via email to