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

TControl.BeginDrag

Starts dragging the control (programmatically).

Declaration

Source position: controls.pp line 1562

public procedure TControl.BeginDrag(

  Immediate: Boolean;

  Threshold: Integer = -1

);

Arguments

Immediate

  

If False, start dragging only after the mouse has moved.

Threshold

  

Minimum mouse movement before delayed dragging starts (in pixels); -1 means DragManager default; ignored if Immediate=True.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.