[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 1371

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.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads