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

TControl.OnDragDrop

Event handler for the drop of a control onto this control.

Declaration

Source position: controls.pp line 1229

protected property TControl.OnDragDrop: TDragDropEvent
  read FOnDragDrop
  write FOnDragDrop;

Description

The handler determines what shall happen when another control is dropped onto this (Sender) control.

Sender is the target control onto which the Source control is dropped.

X and Y are the client coordinates of the drop.

See also

TControl.DragDrop

  

Invokes the OnDragDrop handler, when the control is dropped

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