From 2e2fcf7cb1e60dfadf102066c57d38a9974462d9 Mon Sep 17 00:00:00 2001 From: "rosenfield.albert" Date: Tue, 27 May 2008 20:20:33 +0000 Subject: [PATCH] Look for ftWideMemo rather than ftMemo fields when coloring cells. --- source/childwin.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/childwin.pas b/source/childwin.pas index 49e273cc..4ab69947 100644 --- a/source/childwin.pas +++ b/source/childwin.pas @@ -4752,7 +4752,7 @@ begin else Grid.Canvas.Font.Color := COLOR_NULLVALUE; // Just use the changed font color for (MEMO) and (BLOB) cells - if Grid.Fields[DataCol].DataType in [ftMemo, ftBlob] then + if Grid.Fields[DataCol].DataType in [ftWideMemo, ftBlob] then Grid.DefaultDrawColumnCell(Rect, DataCol, Grid.Columns[DataCol], State) // ... while the natively displayed datatypes get a grey (NULL) else