Sign in Join
FPDoc Onlineexperiment

TCustomGrid.BeginAutoDrag procedure

Member of TCustomGridprotectedIn unit Grids

Starts an auto-drag operation in the grid control.

Declaration

pascal
procedure BeginAutoDrag; override

Description

BeginAutoDrag is an overridden procedure used to start an auto-dragging operation. Auto-dragging is in effect when DragMode contains the value dmAutomatic.

BeginAutoDrag examines the Options property to determine if column sizing (goColSizing) or row sizing (goRowSizing) have been enabled for the grid control. In addition, the CursorState property must contain a value that represents the action (gcsColWidthChanging or gcsRowHeightChanging). If either condition is not met, BeginDrag is called using False as an argument.

See also

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