Vcl.Controls.TBaseDragControlObject.Finished

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Finished(Target: TObject; X, Y: Integer; Accepted: Boolean); override;

C++

virtual void __fastcall Finished(System::TObject* Target, int X, int Y, bool Accepted);

Properties

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

Description

Finished ends a drag-and-drop operation.

Finished is called automatically when the user drops the control or cancels the drag operation. Accepted indicates whether the Target control at X, Y position accepts the drag-an-drop or drag-and-dock operation. If a target does not accept the dragged object, its DragCanceled method is called before the EndDrag method generates an OnEndDrag event.

See Also