![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#3
|
|||
|
|||
|
Mira hasta aqui llevo mi ejercicio y lo unico que me falta es que el string grid este del lado derecho asi como en la imagen que puse en el post procedure TForm1.Button1Click(Sender: TObject); var x,y:integer; suma:integer; begin suma:=0; suma:=strtoint(LabeledEdit1.Text)+strtoint(LabeledEdit2.Text); LabeledEdit3.Text:=inttostr(suma); StringGrid1.Colcount:=Length(LabeledEdit1.Text); StringGrid2.Colcount:=Length(LabeledEdit2.Text); StringGrid3.Colcount:=Length(LabeledEdit3.Text); begin with StringGrid1 do for x:=0 to Colcount -1 do for y:=0 to RowCount -1 do begin Cells[x,y]:=LabeledEdit1.Text[x+1]; end; end; begin with StringGrid2 do for x:=0 to Colcount -1 do for y:=0 to RowCount -1 do begin Cells[x,y]:=LabeledEdit2.Text[x+1]; end; end; begin with StringGrid3 do for x:=0 to Colcount -1 do for y:=0 to RowCount -1 do begin Cells[x,y]:=LabeledEdit3.Text[x+1]; end; end; end; |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Ayuda con un StringGrid | maky | Lazarus, FreePascal, Kylix, etc. | 6 | 27-08-2008 18:45:59 |
| ayuda stringgrid | Rasecma | Varios | 1 | 18-10-2007 10:12:56 |
| Ayuda en el Uso del StringGrid | doncowboy | OOP | 2 | 24-04-2007 19:26:33 |
| Ayuda con Stringgrid | estebanx | OOP | 4 | 01-06-2006 20:20:24 |
| Ayuda en StringGrid | Fita | Varios | 3 | 08-11-2003 13:03:18 |
|