可以,你还可以利用下面这个程序实现动态的控件矩阵.
var
i: Integer;
lblPick: array[0..14] of TButton;
begin
for i := 0 to 14 do
begin
lblPick := TLabel.Create(TForm);
lblPick.Parent := form
//注意将其Parent置为容器(一般为Form)
lblPick.Left := 192 + 32 * i;
lblPick.Top := 61 + (i mod 5) * 10;
lblPick.Caption := IntToStr(i + 1);
end;
end;