FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
ayuda stringgrid
como puedo usar stringgrid con suma de vectores, tengo un problema con el siguiente codigo:
procedure TForm1.Button1Click(Sender: TObject); type vect=array[1..10] of integer; var c:integer; VectorC:TStringGrid; a,b,r:vect; begin VectorC:=TStringGrid.create(Form1); with VectorC do begin Colcount:=5; RowCount:=1; Left:=48; Top:=220; Height:=50; Width:=320; DefaultColwidth:=25; DefaultRowHeight:=20; FixedCols:=0; FixedRows:=0; parent:=form1; end; for c := 0 to vectorA.ColCount-1 do begin a[c]:=strtoint(vectorA.Cells[0,c]); b[c]:= StrToInt(VectorB.Cells[0,c]); r[c]:=a[c]+b[c]; vectorc.Cells[0,c]:=inttostr(r[c]); end; end; |
#2
|
||||
|
||||
¿Y el problema que tienes con el código es.......?
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Ayuda con Stringgrid | sexshop_3 | Varios | 7 | 24-08-2007 01:01:10 |
Ayuda Stringgrid | peripla | Varios | 2 | 25-06-2007 17:11:17 |
Ayuda con StringGrid | BuenaOnda | Varios | 2 | 23-05-2007 09:12:47 |
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 |
|