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

# TGridFlags

Set type used to store TGridFlagsOption enumeration values.

## Declaration

Source position: grids.pas line 170

`type TGridFlags = set of (`
`gfEditorUpdateLock,` |  | Indicates a cell is locked during a cell editor update.
`gfNeedsSelectActive,` |  | Indicates a selection needs to be active prior to mouse down or move actions.
`gfEditorTab,` |  | Indicates a Tab key can be applied to focus the next cell in the grid.
`gfRevEditorTab,` |  | Indicates if Shift+Tab can be used to select the previous cell in the grid.
`gfVisualChange,` |  | Indicates visible changes to row or column sizes can be applied to the grid.
`gfColumnsLocked,` |  | Indicates columns in the grid are locked and cannot be reordered.
`gfEditingDone,` |  | Indicates editing using a cell editor has been completed.
`gfSizingStarted,` |  | Indicates a row or column sizing action is in effect.
`gfPainting,` |  | Indicates the grid is being redrawn.
`gfUpdatingSize,` |  | Indicates the grid is updating its size.
`gfClientRectChange,` |  | Indicates the client rectangle for the grid has changed.
`gfAutoEditPending,` |  | Indicates a cell editor is being prepared for a newly selected cell in the grid.
`gfUpdatingScrollbar` |  | Indicates the visibility of scroll bar(s) has been changed for a grid.
`);`

## Description

TGridFlags is a set type used to store TGridFlagsOption enumeration values. TGridFlags is the type used to implement the TCustomGrid.GridFlags property.

## See also

TGridFlagsOption |  | Represents state flags used in a grid control.
TCustomGrid.GridFlags |  | Contains grid-specific state flags active for the control.