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

# TCustomGrid.FixedGrid

Determines if all columns or all rows in the grid are fixed.

## Declaration

Source position: grids.pas line 1084

`protected function TCustomGrid.FixedGrid: Boolean;`

## Function result

True when all of the row or all of the columns in the control are fixed.

## Description

FixedGrid is a Boolean function used to determine whether all columns in the grid are defined as fixed columns, or all rows are defined as fixed rows. The return value is True when FixedCols is equal to ColCount OR FixedRows is equal to RowCount.

FixedGrid is used in the implementation of methods like: SetFixedCols, SetFixedRows, MouseToGridZone, MouseDown, MouseMove, MouseUp, TryMoveSelect, EditorAlwaysShown, and FixPosition.

## See also

TCustomGrid.FixedCols |  | The number of fixed columns in the grid.
TCustomGrid.FixedRows |  | Number of the fixed rows in the grid.
TCustomGrid.ColCount |  | Number of columns in the grid.
TCustomGrid.RowCount |  | Number of rows in the grid.