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

TWinControl.DockManager

The docking layout manager for this control.

Declaration

Source position: controls.pp line 2345

public property TWinControl.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

TWinControl.UseDockManager

  

Determines whether a DockManager is used for this DockSite.

TWinControl.DockSite

  

Allows controls to be drag-and-dock-ed into this control.

TWinControl.OnDockDrop

  

Event handler signalled for the drop of a control to be docked.

TWinControl.OnDockOver

  

Event handler signalled when a control is moved over a docksite; determines whether the drop event is accepted or rejected.

TDockManager

  

The layout manager for a docksite.


Version 3.2 Generated 2024-02-25 Home