OnStyleText
Called before a text in a cell is being rendered. It provides an opportunity to change font color and style.
pas
property OnStyleText: TNxStyleTextEvent read FOnStyleTextEvent write FOnStyleTextEvent;
Example
pas
procedure TForm1.NxMemoColumn62StyleText(Sender: TObject; ACol, ARow: Integer; var FontColor: TColor;
FillColor: TColor; var FontStyle: TFontStyles; CellValue: INxBase; CellState: TNxCellPaintingState);
begin
if ARow = FErrorIndex then
begin
FontColor := clRed;
FontStyle := [fsBold];
end;
end;