Sign in Join
FPDoc Onlineexperiment

TCustomGrid.GetCellHintText function

Member of TCustomGridprotectedIn unit Grids

Gets the hint for the specified cell using the Options enabled in the grid control.

Declaration

pascal
function GetCellHintText(ACol: Integer; ARow: Integer): string
 ; virtual

Arguments

ACol

Column number for the cell.

ARow

Row number for the cell.

Function result

String with the hint text for the specified cell.

Description

GetCellHintText signals the OnGetCellHint event handler (when assigned) to get the hint text for the cell at the position in ACol and ARow. The return value contains the hint text returned from the event handler, or an empty string ( '') when the event handler has not been assigned.

GetCellHintText is called from the ShowCellHintWindow method when Options contains the value goCellHints and CellHintPriority is not set to chpTruncOnly.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.