Sign in Join
FPDoc Onlineexperiment

TControl.DragMode property

Member of TControlprotectedIn unit Controls

Determines how a drag operation is started for the control.

Declaration

pascal
property DragMode: TDragMode read FDragMode write SetDragMode default dmManual;

Description

DragMode is a TDragMode property which determines how a drag operation is started for the control.

dmManual is the default value, and indicates that drag operation must be started in code by calling the BeginDrag method.

dmAutomatic allows a drag operation to start when the mouse pointer is dragged over the control.

Use DragKind to specify whether the drag operation is a drag-and-drop or a drag-and-dock operation.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.