API:Vcl.Controls.TBaseDragControlObject.Finished
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
Responds when the mouse is released indicating the drag operation is complete.
Vcl.Controls.TBaseDragControlObject.Finished inherits from Vcl.Controls.TDragObject.Finished. All content below this line refers to Vcl.Controls.TDragObject.Finished.
Responds when the mouse is released indicating the drag operation is complete.
Finished does nothing as implemented in TDragObject. Override this method to provide more meaningful behavior. The Target is the object that accepted the drag. If the drag operation is canceled or a drag-and-dock operation ends with the dragged object in a free-floating position, Target is nil (Delphi) or NULL (C++). X and Y indicate the position where the drag ended. Accepted is true if the Target accepted the dragged object.
Finished is overridden and implemented in TBaseDragControlObject.