Ver Mensaje Individual
  #6  
Antiguo 01-02-2011
JLMN22 JLMN22 is offline
Miembro
 
Registrado: nov 2008
Posts: 18
Reputación: 0
JLMN22 Va por buen camino
Sigo igual

El programa lo que hace es rellenar por filas y lo hace indefinidamente no por columnas, dejo el codigo nuevamente.

Código Delphi [-]
var
  temp:string;
begin
  datos[ren,col]:=strtoint(edit1.Text);
  edit1.Text:=' ';
  temp:=temp+inttostr(datos[ren,col]);
  listbox1.Items.Add(temp);
  col:=col+1;
  if (col=5) then
  begin
    ren:=ren+1; 
    col:=1;
  end;
  if (ren=4) then
  begin
    showmessage('Lista llena');
    edit1.Visible:=false;
  end;
end;
end.

Última edición por ecfisa fecha: 01-02-2011 a las 20:51:53. Razón: ETIQUETAS [DELPHI] - IDENTADO DE CODIGO
Responder Con Cita