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


Allows the user to drag the control.


Source position: controls.pp line 1359

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


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



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



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