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

TStartDragEvent

The type of an OnStartDrag handler.

Declaration

Source position: controls.pp line 510

type TStartDragEvent = procedure(

  Sender: TObject;

  var DragObject: TDragObject

) of object;

Arguments

Sender

  

The control to be dragged.

DragObject

  

Supply your own DragObject, or leave it Nil for automatic creation.

Description

An OnStartDrag event is generated for a control when it is dragged and its DragKind is dkDrag. The handler can provide a specific DragDrop object. Otherwise, a standard TDragDropObjectEx is automatically created by the DragManager.

See also

TStartDragEvent

  

The type of an OnStartDrag handler.


Version 3.2 Generated 2024-02-25 Home