TGridState enumeration
Enumerated type with grid state values.
Declaration
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
gsNormal | Normal state for the grid when navigation or editing can be performed. |
gsSelecting | Grid is selecting a row, column, or cell after keyboard or mouse activity. |
gsRowSizing | Grid is resizing a row. |
gsColSizing | Grid is resizing a column. |
gsRowMoving | Grid is moving or dragging a row. |
gsColMoving | Grid is moving or dragging a column. |
gsHeaderClicking | A fixed header cell has been clicked in the Grid. |
gsButtonColumnClicking | A button in a column has been clicked. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
