Sign in Join
FPDoc Onlineexperiment

TWinControl.DockManager property

Member of TWinControlpublicIn unit Controls

The docking layout manager for this control.

Declaration

pascal
property DockManager: TDockManager read FDockManager write SetDockManager;

Description

A DockSite can be managed (using a DockManager), or unmanaged (positioning docked controls in the event handlers). The DockManager determines the placement for docked controls by setting DropOnControl and DropAlign before the drop, and by resizing and positioning the control when it's dropped.

A DockManager is used only when UseDockManager is set to True. Setting UseDockManager to True creates the DockManager using the DefaultDockManagerClass for this DockSite, if not previously assigned.

An unmanaged DockSite, without a DockManager, can handle the placement of dropped controls in the OnDockOver and OnDockDrop event handlers.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.