Sign in Join
FPDoc Onlineexperiment

TControl.DoEndDrag procedure

Member of TControlprotectedIn unit Controls

Signals the OnEndDrag event handler.

Declaration

pascal
procedure DoEndDrag(Target: TObject; X: Integer; Y: Integer); virtual

Description

DoEndDrag occurs when a drag operation for the control has been completed. In TControl, it signals the OnEndDrag event handler (when assigned). Arguments to the handler include the target control (or dock site) and the mouse coordinates when the drag operation was completed.

No actions are perform in the method if a handler routine has not been assigned to OnEndDrag.

Descendent classes may override the method to perform additional actions needed in their implementation.

DoEndDrag is called from the EndDrag method in TDragObject.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.