Si se puede es algo asi:
En el evento DrawColumnCell de la DbGrid adecua lo siguiente:
Código:
if (CondicionCliente= 'SI') then
begin
DBGfechaserv.Canvas.Brush.Color:=clYellow;
DBGfechaserv.Canvas.FillRect(Rect);
DBGfechaserv.Canvas.Font.Color:=clWindowText;
end
else
begin
if (CondicionCliente ='No') then
begin
DBGfechaserv.Canvas.Brush.Color:= clRed;
DBGfechaserv.Canvas.FillRect(Rect);
DBGfechaserv.Canvas.Font.Color:=clWindowText;
end
end;
Si quieres mas informacion debes ir a:
www.clubdelphi.com/~cadetill