Ver Mensaje Individual
  #4  
Antiguo 18-04-2007
Avatar de droguerman
droguerman droguerman is offline
Miembro
 
Registrado: abr 2005
Ubicación: tierra
Posts: 999
Reputación: 22
droguerman Va por buen camino
disculpa me olvide mencionar eso, aunque tarde ojala esto te sirva:

Código Delphi [-]
procedure TUForma.anadir;
begin
    with grid do
    begin
       //mostramos la  fila invisible 
       rowHeights[1] := defaultRowHeight;
       //añadir los datos
       if cells[0,1]<>'' then rowCount:= rowCount+1;
       cells[0,rowCount-1]  := tuDato;
       cells[1,rowCount-1]  := tuOtroDato;
       cells[2,rowCount-1]  := tuOtroDato;
       ... 
    end;
end;
__________________
self.free;
Responder Con Cita