fix col/row indices in gridcelleditor example

git-svn-id: trunk@15158 -
This commit is contained in:
jesus 2008-05-15 18:11:18 +00:00
parent 0da12a77ab
commit ec0b7a24ab

View File

@ -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;