Ver Mensaje Individual
  #5  
Antiguo 15-11-2004
mfcorral mfcorral is offline
Registrado
 
Registrado: nov 2004
Posts: 3
Reputación: 0
mfcorral Va por buen camino
COlorear DBGridColumn

Prueba lo siguiente

if DataCol = 0 then //Index de la columna que quieres colorear
begin
DBGrid1.Canvas.Brush.Color := clBlue; //Color de fondo
FillRect(DBGrid1.Canvas.Handle, Rect, DBGrid1.Canvas.Brush.Handle);
DBGrid1.Canvas.Font.Color := clRed; //Color de fuente
DBGrid1.Canvas.TextOut(Rect.left + 2, Rect.top + 2, Column.Field.AsString);
end;
Responder Con Cita