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

TControl.OnDragDrop

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

Declaration

Source position: controls.pp line 1449

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

Description

Unlike for a drag-dock operation, no default action is associated with an drag-drop; the OnDragDrop handler is the only way to do something meaningful on an drag-drop.

See also

TControl.TDragDropEvent

TControl.DragDrop

  

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

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