Ver Mensaje Individual
  #2  
Antiguo 17-12-2003
Descendents Descendents is offline
Miembro
 
Registrado: may 2003
Ubicación: Barcelona
Posts: 396
Reputación: 22
Descendents Va por buen camino
Pon esto en el Ondrawcell del stringgrid
begin
if (acol = 1) and (arow = 1) then begin
StringGrid1.Canvas.Brush.Color := clred;
StringGrid1.Canvas.FillRect(Rect);
end;
end;

Este evento ondrawcell se produce cuando se dibujan las celdas del stringgrid. pues lo que le estoy diciendo aqui es.

si acol es 1 y arow es 1 pintas la celda de rojo.

acol = columna
arow = fila

A ver si te sirvio

Saludos
Responder Con Cita