mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 23:16:01 +02:00
fix col/row indices in gridcelleditor example
git-svn-id: trunk@15158 -
This commit is contained in:
parent
0da12a77ab
commit
ec0b7a24ab
@ -35,8 +35,8 @@ var
|
|||||||
x: Integer;
|
x: Integer;
|
||||||
begin
|
begin
|
||||||
// fill the grid
|
// fill the grid
|
||||||
for y:=0 to StringGrid1.ColCount-1 do begin
|
for x:=0 to StringGrid1.ColCount-1 do begin
|
||||||
for x:=0 to StringGrid1.RowCount-1 do begin
|
for y:=0 to StringGrid1.RowCount-1 do begin
|
||||||
StringGrid1.Cells[x,y]:=IntToStr(x)+','+IntToStr(y);
|
StringGrid1.Cells[x,y]:=IntToStr(x)+','+IntToStr(y);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user