[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 456

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.