From d3edf57600b96dfae3eff48ac6a80433de351a18 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Tue, 12 Feb 2008 20:01:15 +0000 Subject: [PATCH] Fix for previous commit: Selected NULL cells should be readable everywhere, not just with my personal color settings... --- source/childwin.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/childwin.pas b/source/childwin.pas index 90354756..fbe4c783 100644 --- a/source/childwin.pas +++ b/source/childwin.pas @@ -4864,7 +4864,7 @@ begin if (Grid.Fields[DataCol] <> nil) and Grid.Fields[DataCol].IsNull then begin if (Grid.SelectedRows.IndexOf(Grid.DataSource.DataSet.Bookmark) <> -1) or (gdSelected in State) then - Grid.Canvas.Font.Color := clWindowText + Grid.Canvas.Font.Color := clHighLightText else Grid.Canvas.Font.Color := COLOR_NULLVALUE; // Just use the changed font color for (MEMO) and (BLOB) cells