Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#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 1517

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

TDragDropEvent

  

The type of an OnDragDrop notification handler.

TControl.DragDrop

  

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



CT Web help

CodeTyphon Studio