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

TStartDockEvent

The type of an OnStartDock handler.

Declaration

Source position: controls.pp line 558

type 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

TStartDragEvent

  

The type of an OnStartDrag handler.



CT Web help

CodeTyphon Studio