Sign in Join
FPDoc Onlineexperiment

TStartDockEvent procedure type

In unit Controls

The type of an OnStartDock handler.

Declaration

pascal
TStartDockEvent = procedure(Sender: TObject; 
 var DragObject: TDragDockObject) of object

Arguments

Sender

The control being dragged.

DragObject

Supply your own TDragDockObject, or leave it Nil to request automatic creation.

Description

An OnStartDock event is sent by a control when it shall be dragged and its DragKind is dkDock. The handler can provide a specific DragDock object, else a standard TDragDockObjectEx is automatically created by the DragManager.

See also

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