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

# TGridZone

Enumerated type with values which represent the zones or areas on a grid control.

## Declaration

Source position: grids.pas line 143

`type TGridZone = (`
`gzNormal,` |  | Area normally used for cell data (not fixed row or column headers).
`gzFixedCols,` |  | Area used for fixed column headers
`gzFixedRows,` |  | Area used for fixed row headers
`gzFixedCells,` |  | Area for fixed cells (where both the column and the row are fixed).
`gzInvalid` |  | Area not valid for grid cells.
`);`

## Description

TGridZone is an enumeration type with values representing zones in a grid control which are monitored to determine activity and subsequent changes in the control state.

Values from TGridZone are stored in the TGridZoneSet type, and used to implement properties in TCustomGrid like:

- HeaderHotZones
- HeaderPushZones

The type is also passed as an argument to the Clean method in TCustomStringGrid.

## See also

TGridZoneSet |  | Set type used to store TGridZone enumeration values.
TCustomGrid.HeaderHotZones |  | Contains the grid zones which are hot-lighted (hovered) on the control.
TCustomGrid.HeaderPushZones |  | Contains the grid zones which are drawn in a "pushed" state on the control.
TCustomStringGrid.Clean |  | Removes cell content which match the specified options.