Fix for previous commit: Selected NULL cells should be readable everywhere, not just with my personal color settings...

This commit is contained in:
Ansgar Becker
2008-02-12 20:01:15 +00:00
parent f9b6fdaf64
commit d3edf57600

View File

@@ -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