Sign in Join
FPDoc Onlineexperiment

TDockManager.GetDockEdge function

Member of TDockManagerpublicIn unit Controls

Determine the DropAlign.

Declaration

pascal
function GetDockEdge(ADockObject: TDragDockObject): Boolean; virtual

Arguments

ADockObject

The DragDockObject holding all information about the drag-dock operation.

Function result

True if the DropAlign was determined.

Description

ADockObject contains valid DragTarget, DragPos and DragTargetPos relative dock site. DockRect is undetermined.

DropOnControl may be Nil if nothing has been docked yet, or no target control exists at the mouse coordinates.

Returns True if ADockObject.DropAlign has been determined. If False, the DropAlign has to be determined by default procedures.

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