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

# TCellHintPriority

Represents the cell hint display priorities.

## Declaration

Source position: grids.pas line 178

`type TCellHintPriority = (`
`chpAll,` |  | Uses all hints (control and cell hints) including short and long display text values.
`chpAllNoDefault,` |  | Uses all hints except the default hint for the grid control.
`chpTruncOnly` |  | Uses the truncated cell hint text.
`);`

## Description

A grid control can display three types of hint: the default hint (in the Hint property), individual cell hints (using the OnCellHint event), and hints for truncated cells. TCellHintPriority determines how the hint text is determined when multiple hint text values are available for display.

TCellHintPriority is the type used to implement the CellHintPriority property in TCustomGrid.

## See also

TCustomGrid.CellHintPriority |  | Identifies how text is combined to form the Hint property.