Skip to main content

TdxDockingController.GetFloatDockSiteAtPos(TPoint) Method

Returns the float dock site whose float form’s caption is located under the specified point.

Declaration

function GetFloatDockSiteAtPos(const pt: TPoint): TdxCustomDockControl;

Parameters

Name Type
pt TPoint

Returns

Type
TdxCustomDockControl

Remarks

The GetFloatDockSiteAtPos method returns nil if the specified point is not over a float form’s caption. If it is over a float form’s caption, the form’s child float site is returned. The test point is specified in screen coordinates via the pt parameter.

See Also