mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +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;
|
||||
begin
|
||||
// fill the grid
|
||||
for y:=0 to StringGrid1.ColCount-1 do begin
|
||||
for x:=0 to StringGrid1.RowCount-1 do begin
|
||||
for x:=0 to StringGrid1.ColCount-1 do begin
|
||||
for y:=0 to StringGrid1.RowCount-1 do begin
|
||||
StringGrid1.Cells[x,y]:=IntToStr(x)+','+IntToStr(y);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user