Sign in Join
FPDoc Onlineexperiment

TStartDragEvent procedure type

In unit Controls

The type of an OnStartDrag handler.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.