Sutto Code Example;
Delphi 7.0 InfoPower 4
Note: FieldA is not visible in the grid, of course that should not matter.
BothFields are in the same row and dataset. Simple right?
with wwDBGrid1 do begin
if ( FieldB.Text = 'T') then begin
FieldA.CellColor = clBlue;
FieldA.CellFont.Color = clBlack;
FieldA.CellColor = clYellow;
FieldA.CellFont.Color = clRed;