[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TDockManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

## Declaration

Source position: controls.pp line 503

`type TDockManager = class(TPersistent)`
`public`
`constructor Create(); virtual;` |  | Creates an DockManager for ADockSite
`procedure BeginUpdate; virtual;` |  | Start updating the DockSite layout.
`procedure EndUpdate; virtual;` |  | Finish updating the DockSite layout.
`procedure GetControlBounds(); virtual; abstract;` |  | Returns the zone bounds of a docked control.
`function GetDockEdge(); virtual;` |  | Determine the DropAlign.
`procedure InsertControl();` |  | Position DropCtl relative Control, using the alignment specified by InsertAt.
`procedure LoadFromStream(); virtual; abstract;` |  | Restores the layout of the docksite from Stream.
`procedure PaintSite(); virtual;` |  | Handles special painting of the docksite.
`procedure MessageHandler(); virtual;` |  | Handles the messages sent to a docksite
`procedure PositionDockRect();` |  | Determines the DockRect while dragging a control over the docksite.
`procedure RemoveControl(); virtual; abstract;` |  | Removes the undocked control from the docksite layout.
`procedure ResetBounds(); virtual; abstract;` |  | ResetBounds refreshes the layout of the docksite
`procedure SaveToStream(); virtual; abstract;` |  | Saves the docksite layout to Stream.
`procedure SetReplacingControl(); virtual;` |  | Specifies the control to be replaced subsequently.
`function AutoFreeByControl; virtual;` |  | Returns True if the DockManager should be destroyed together with the docksite.
`end;`

## Inheritance

`TDockManager`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .