Ver Mensaje Individual
  #2  
Antiguo 21-05-2005
Avatar de AGAG4
AGAG4 AGAG4 is offline
Miembro
 
Registrado: ago 2004
Ubicación: Los Mochis, Sinaloa, México
Posts: 1.420
Reputación: 21
AGAG4 Va por buen camino
Prueba esto....

Dentro del evento gridDrawColumnCell Prueba Esto G.A.R.S.
Código Delphi [-]
if Condicion then begin
//Elegir Color
grid.Canvas.Brush.Color := clRed;
//Pintar CELDA Seleccionada
TDBGrid(Sender).DefaultDrawColumnCell(Rect,DataCol,Column,State);
end;

Saludos....

Última edición por AGAG4 fecha: 21-05-2005 a las 17:09:31. Razón: Corrección
Responder Con Cita