Pon la propiedad DefaultDrawing a False y en el evento OnDrawColumnCell pon
este codigo:
if gdSelected in State then
DbGrid1.Canvas.Brush.Color := clYellow;
if gdFocused in State then
DbGrid1.Canvas.Font.Color := clBlue;
DbGrid1.DefaultDrawColumnCell(Rect, DataCol, Column, State);
Ważne artykuły