Vcl.Controls.TControl.GetDockEdge

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDockEdge(MousePos: TPoint): TAlign; dynamic;

C++

DYNAMIC TAlign __fastcall GetDockEdge(const System::Types::TPoint &MousePos);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Returns the edge on which another control should be docked when it is dragged over the control.

Use GetDockEdge to get the edge on which another control should be docked when it is dragged over the control.

MousePos is the position of the mouse.

GetDockEdge is called automatically during drag-and-dock operations involving the control.

See Also