Ver Mensaje Individual
  #10  
Antiguo 23-02-2012
hugobenitez hugobenitez is offline
Miembro
 
Registrado: oct 2006
Posts: 24
Reputación: 0
hugobenitez Va por buen camino
filas de diferentes colores

Hola Chicos, es mi primer y humilde aporte a vuestros bastos conocimientos sobre el tema.

Yo lo solucione asi:

if (odd(TDBGrid(Sender).DataSource.DataSet.RecNo)=TRUE) and not (gdSelected in State) then
begin
TDBGrid(Sender).canvas.Font.Color:=clBlack;
TDBGrid(Sender).canvas.Brush.Color:=clSilver;
end;
TDBGrid(Sender).DefaultDrawColumnCell(rect,DataCol,Column,State);


Utilizo Delphi 5. Un abrazo y gracias por tantas soluciones para todos.
Responder Con Cita