MyButton := TButton.Create ;
MyButton.parent := Form1 ;
MyButton.top := ..
...

解决方案 »

  1.   

    with TLabel.Create(Self) do
    begin
      Parent := Self;
      Caption := 'Hello, world';
      Left := 100;
      Top := 100;
    end;
      

  2.   

    for i := 1 to 100 do 
    with TLabel.Create(Self) do
    begin
      Parent := Self;
      Caption := 'Hello, world';
      Left := i * 10;
      Top := i * 10;
    end; 
      

  3.   

    多多感谢chechy(chechy) 兄,对chechy(chechy) 的感谢犹如滔滔江水,连绵不绝 犹如黄河泛滥一发而不可收拾
      

  4.   

    那么每一个button的名字是多少?
      

  5.   

    Delphi会给他们起名字的,不用担心。