Sign in Join
FPDoc Onlineexperiment

TGridState enumeration

In unit Grids

Enumerated type with grid state values.

Declaration

pascal
TGridState = (gsNormal,gsSelecting,gsRowSizing,gsColSizing,gsRowMoving,
 gsColMoving,gsHeaderClicking,gsButtonColumnClicking)

Description

TGridState is an enumerated type with values that reflect the state in a grid control. TGridState values represent actions performed using a grid control, rather than the display state for rows, columns, and/or cells.

TCustomGrid maintains an internal TGridState member used to track the state for the grid control. Methods in TCustomGrid cause the value in the member to be read or updated to reflect the request and/or completion of an action in the grid control.

Use the TCustomGrid.Options and TCustomGrid.Options2 properties to determine if specific features or behaviors are enabled for a grid control.

See also

Values

gsNormalNormal state for the grid when navigation or editing can be performed.
gsSelectingGrid is selecting a row, column, or cell after keyboard or mouse activity.
gsRowSizingGrid is resizing a row.
gsColSizingGrid is resizing a column.
gsRowMovingGrid is moving or dragging a row.
gsColMovingGrid is moving or dragging a column.
gsHeaderClickingA fixed header cell has been clicked in the Grid.
gsButtonColumnClickingA button in a column has been clicked.

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