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

# TCustomGrid.OnGetCellHint

Gets the hint text for a cell.

## Declaration

Source position: grids.pas line 1325

`protected property TCustomGrid.OnGetCellHint : TGetCellHintEvent read FOnGetCellHint write FOnGetCellHint;`

## Description

OnGetCellHint is a TGetCellHintEvent with the event handler signalled to get the hint text for a cell in the grid control. OnGetCellHint is signalled when goCellHints or goTruncCellHints enumeration values are included in the Options property.

OnGetCellHint is signalled (when assigned) from the GetCellHintText and GetTruncCellHintText methods called when ShowCellHintWindow applies the CellHintPriority for the grid control.

## See also

TGridOption |  | Represents grid option values available for grid controls.
TCustomGrid.Options |  | Contains the set of optional features and/or behaviors enabled for the grid control.
TCustomGrid.CellHintPriority |  | Identifies how text is combined to form the Hint property.
TCustomGrid.GetCellHintText |  | Gets the hint for the specified cell using the Options enabled in the grid control.
TCustomGrid.GetTruncCellHintText |  | Gets the truncated version of the hint for the cell at the specified position.