Responds when the mouse is released indicating the drag operation is complete.
procedure Finished(Target: TObject; X: Integer; Y: Integer; Accepted: Boolean); override;
virtual __fastcall Finished(TObject * Target, int X, int Y, Boolean Accepted);
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!