就是说.. 动态生成的控件能放在SCROLLBOX中吗

解决方案 »

  1.   

    TLabel* Label=new TLabel();Label->Parent=Scrollbox1;
      

  2.   

    radionew[j]:=tradiobutton.Create(self);
           with  radionew[j] do
           begin
               Parent:=ScrollBox1;___________(ERROR)
               left:=40;
               Caption:='  '+chr(64+j);
           end;他说[Error] pmodify.pas(194): Incompatible types: 'TWidgetControl' and 'TScrollBox'该怎么做?
      

  3.   

    省一点吧,开个新 Form 就是最好的这类控件。