Código
begin
if not (gdSelected in State) then
begin
if not DataCol mod 2 = 0 then
(Sender as TDBGrid).Canvas.Brush.Color:= clWhite
else
(Sender as TDBGrid).Canvas.Brush.Color:= $00FFF0D2;
(Sender as TDBGrid).DefaultDrawDataCell(Rect, Column.Field, State);
end;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009