Vcl.Controls.TDragDockObject.EndDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EndDrag(Target: TObject; X, Y: Integer); override;

C++

virtual void __fastcall EndDrag(System::TObject* Target, int X, int Y);

Properties

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

Description

Called when a control is released from dragging.

Override EndDrag in a derived class to perform actions when a control is released from dragging.

As implemented in TDragDockObject, EndDrag calls the dragged control's DoEndDock method.

Target is the object in which the control is docked. If the control is not docked, Target is nil (Delphi) or NULL (C++).

X and Y are the coordinates of the control.

See Also