Hi,
I'm converting old nextsuite5 code to nextrgid6 and I got a problem
OLD CODE
procedure TForm_storico.NextGrid_storicoolfCellFormating(Sender: TObject; ACol, ARow: Integer; var TextColor: TColor; var FontStyle: TFontStyles; CellState: TCellState);
begin
if NextGrid_storico.Cell[10,arow].Asfloat=0 then
begin
TextColor:= clRed;
FontStyle:= [fsitalic]
end;
end;
I know that i must use
procedure TForm_storico.NxCheckBoxColumn61StyleText(Sender: TObject; ACol, ARow: Integer; var FontColor: TColor; FillColor: TColor;
var FontStyle: TFontStyles; CellValue: INxBase; CellState: TNxCellPaintingState);
for each column , but I got this error
[dcc32 Error] u_storico.pas(61): E2003 Undeclared identifier: 'INxBase'
[dcc32 Error] u_storico.pas(61): E2003 Undeclared identifier: 'TNxCellPaintingState'
[dcc32 Error] u_storico.pas(353): E2005 'INxBase' is not a type identifier
[dcc32 Error] u_storico.pas(353): E2005 'TNxCellPaintingState' is not a type identifier
[dcc32 Fatal Error] F2063 Could not compile used unit 'u_storico.pas'
Can you Please hep me ?