Sign in Join
FPDoc Onlineexperiment

TGetCellHintEvent procedure type

In unit Grids

Event used to get cell hints.

Declaration

pascal
TGetCellHintEvent = procedure(Sender: TObject; ACol: Integer; 
 ARow: Integer; var HintText: string)
 of object

Arguments

Sender

The grid for the notification.

ACol

Column index for the notification.

ARow

Row index for the notification.

HintText

Text displayed as hint for the cell.

Description

TGetCellHintEvent is an object procedure type used to get a hint for a string grid cell. TGetCellHintEvent is the type used for the OnGetCellHint property in TCustomGrid.

Arguments passed to the procedure can be used to determine the content in HintText displayed as the cell hint.

See also

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