[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TDragObject.EndDrag

Called when a dragging operation ends.

Declaration

Source position: controls.pp line 524

protected procedure TDragObject.EndDrag(

  Target: TObject;

  X: Integer;

  Y: Integer

); virtual;

Arguments

Target

  

The control onto which the dragged object is dropped (can be Nil).

X

  

Horizontal mouse coordinate when the method is called.

Y

  

Vertical mouse coordinate when the method is called.

Description

The default implementation calls Control.DoEndDrag, which in turn invokes an OnEndDrag handler.


Version 3.2 Generated 2024-02-25 Home