Hi Bojan,
I can't adjust the selection color for each line. As an example I use 'SelectionTextColor := clGreen' if Played is True but that gives wrong colors.
Is it possible to add:
Cell.SelectionTextColor ?
Or something I can use?
procedure TForm3.NxVirtualCellSource61GetCell(Sender: TObject; ACol, ARow: Integer; Cell: INxCell); begin case ACol of 0: Cell.AsString := GlobalRec.CurrentFile; end; { Default } Cell.Font.Color := clBlue; NextGrid.SelectionTextColor := clBlue; { Change } if (GlobalRec.Played) then begin NextGrid.SelectionTextColor := clGreen; // Color Problems Cell.Font.Color := clGreen; end; end;
Kind regards,
Eduard.