Sign in Join
FPDoc Onlineexperiment

TControl.PositionDockRect procedure

Member of TControlprotectedIn unit Controls

Get the DockRect for an possible drop.

Declaration

pascal
procedure PositionDockRect(DragDockObject: TDragDockObject); virtual

Arguments

DragDockObject

Object instance (TDragDockObject) with the control positioned and aligned in the method.

Description

Calls the DockManager.PositionDockRect in the target site, or DragDockObject.AdjustDockRect after moving the undocked control rectangle to the DragPos. AdjustDockRect takes the hotspot of the DockRect into account.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.