Mattias Gaertner wrote:
> Al Boldi 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.

Do you mean the pairsplitter thing?  It crashes on my system.

> > 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).

Doesn't TLazDockingMananger implement this?

Thanks!

--
Al

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to