On Sat, 3 Jun 2006 15:36:17 +0300
Al Boldi <[EMAIL PROTECTED]> wrote:
>
> TDockMgr is a component wrapper for TLazDockingMananger.
>
> An application can now be easily extended to support docking, by merely
> placing TDockMgr on any one form, and capturing others by calling this:
>
> DockMgr1.Capture;
>
> and then clicking/selecting the form to be captured, or like this:
>
> DockMgr1.Capture(Form2);
>
> to capture form2 specifically, or like this:
>
> DockMgr1.Capture(Self);
>
> to capture self only.
>
> The captured form then gets an extended PopUpMenu item 'Docking', which
> displays the TLazControlDocker form for docking options.
>
> Many Bugs like:
>
> Forms with menus are not handled correctly.
> Layout alClient is not implemented.
TLazControlDocker uses anchor docking. That means, it does not use Align
like the Delphi docking, but the AnchorSide properties. This makes it more
flexible and does not use a tree structure, which the user can't see.
> Todo:
> Fix bugs.
> Convince non-application forms to be docked.
>
> Your comments/fixes/improvements are most welcome!
The missing part is the saving and restoring of the dock layout. For example
when the user hides some window and shows one again, it should restore the
position (or at least something similar).
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives