[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TDragManager.DragStart

Starts a drag operation for a control.

Declaration

Source position: controls.pp line 647

public procedure TDragManager.DragStart(

  AControl: TControl;

  AImmediate: Boolean;

  AThreshold: Integer;

  StartFromCurrentMouse: Boolean = False

); virtual; abstract;

Arguments

AControl

  

The control that initiates the drag operation.

AImmediate

  

False when dragging should start only when the mouse is moved (delayed).

AThreshold

  

How much the mouse must move before delayed dragging starts.

Description

A DragObject must be created, depending on the Control.DragKind. The mouse has to be captured, and visual feedback must be initialized.


Version 4.0 Generated 2025-05-03 Home