OnGetCellFont Event

Applies to
TIB_CustomGrid

Declaration
TIB_GetCellFontEvent = Procedure(Sender: TObject; ACol, ARow: longint; AState: TGridDrawState; AColor: TColor; const AFont: TFont ) of object;

Description
This method allows you to override the font of a cell.

It will also be applied to the inplace editor.

Please be sure to check if the associated dataset is prepared or not before trying to access fields information. I purposely do not prevent the generation of this event even if the dataset is unprepared because I want the developer to have full control over the fonts of the grid.