procedure TFPrincipale.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); begin With DbGrid1 do begin if TblCampListDepartement.AsString = CBListe.Text then //Column.Color := clRed; Canvas.Brush.Color := clRed; else //Column.Color := clYellow; Canvas.Brush.Color := clYellow; DefaultDrawColumnCell(Rect, DataCol, Column, State); end ; end;