[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 2178

public property TWinControl.DockManager : TDockManager
  read FDockManager
  write SetDockManager;

Description

A docksite can be managed (using an DockManager) or unmanaged (positioning docked controls in the event handlers). The DockManager determines the placement of 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 also is True. Setting UseDockManager to True creates an DockManager of the DefaultDockManagerClass for this docksite, if none was previously installed.

An unmanaged docksite, without an 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 to drag-dock other controls into this control.

TWinControl.OnDockDrop

  

Notification handler for the drop of a control to be docked.

TWinControl.OnDockOver

  

Event handler for moves of a control over this docksite. Determines acceptance or rejection of an possible drop.

TDockManager

  

The layout manager for a docksite.

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