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


Event handler signalled for the start of a dragging operation.


Source position: controls.pp line 1576

protected property TControl.OnStartDrag : TStartDragEvent
  read FOnStartDrag
  write FOnStartDrag;


OnStartDrag is a TStartDragEvent property with the event handler signalled when a drag operation is started for the control. Use the event handler to perform actions needed when the drag operation is started, such customizing the drag cursor or initializing related drag event handlers.

The Sender argument is the TControl instance for the event notification.

The DragObject argument returns the TDragControlObject allocated by the drag manager when the drag operation was started.

See also



Event handler for the start of a docking operation.



A drag object for dragging a control.



The type of an OnStartDrag handler.

CT Web help

CodeTyphon Studio