Sign in Join
FPDoc Onlineexperiment

TDragDropEvent procedure type

In unit Controls

The type of an OnDragDrop notification handler.

Declaration

pascal
TDragDropEvent = procedure(Sender: TObject; Source: TObject; 
 X: Integer; Y: Integer) of object

Arguments

Sender

The target control of the drop.

Source

The dragged control.

X

The client coordinates of the drop.

Y

The client coordinates of the drop.

Description

An OnDragDrop event is generated by the target control, on the drop of a dragged object.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.