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

TControl.DragDrop

Invokes the OnDragDrop handler, when a dragged object is dropped onto this control.

Declaration

Source position: controls.pp line 1471

public procedure TControl.DragDrop(

  Source: TObject;

  X: Integer;

  Y: Integer

); virtual;

Arguments

Source

  

The dropped object (control or DragDrop object)

X

  

The drop position in client coordinates.

Y

  

The drop position in client coordinates.

See also

TControl.OnDragDrop

  

This handler determines the action on an drop onto this control, in a drag-drop operation.

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