H
hyne
Unregistered / Unconfirmed
GUEST, unregistred user!
源码如下,编译通过,运行报错,我晕了,大家帮忙解决解决
SetLength(Ta,2,3);
for I := Low(Ta) to High(Ta)do
begin
for J := Low(Ta) to High(Ta)do
Ta[i,j] := TButton.Create(server);
with Ta[i,j]do
begin
Parent := server.FlatGroupBox6;
Left := 10;
Height := 20;
Width := 30;
Top := 30;
Caption := 'a'+IntToStr(i);
Show;
end;
end;
实在不行我只能一维动态然后手动排序了,大家帮忙解决解决阿
SetLength(Ta,2,3);
for I := Low(Ta) to High(Ta)do
begin
for J := Low(Ta) to High(Ta)do
Ta[i,j] := TButton.Create(server);
with Ta[i,j]do
begin
Parent := server.FlatGroupBox6;
Left := 10;
Height := 20;
Width := 30;
Top := 30;
Caption := 'a'+IntToStr(i);
Show;
end;
end;
实在不行我只能一维动态然后手动排序了,大家帮忙解决解决阿