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

TControl.DragMode

Allows the user to drag the control.

Declaration

Source position: controls.pp line 1359

protected property TControl.DragMode: TDragMode
  read FDragMode
  write SetDragMode
  default dmManual;

Description

Default is dmManual, meaning that dragging must be started in code.

Set to dmAutomatic to allow the user to drag this control. In this mode dragging can start immediately (on left mouse button press) or delayed, after the mouse has been moved away by a number of pixels (Threshold).

See also

TControl.DragKind

  

The operation when the control is dragged - Drag or Dock.

TDragManager.DragImmediate

  

Start dragging immediately, on MouseDown?

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads