Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TStartDragEvent

The type of an OnStartDrag handler.

Declaration

Source position: controls.pp line 443

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.



CT Web help

CodeTyphon Studio