B Benny_xp Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-25 #2 view-->object treeview 看你所想找的panel那个节点下的子节点就是panel里的控件 Good Luck!
D dirk Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-25 #4 Panel1.FindChildControl Panel1.FindComponent
C chinapig Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-25 #7 它有一个controls之类的东东你可以试试, 我以前就用过将所有内容清空
L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-25 #8 成功 谢谢各位 procedure TForm1.ButtonindexClick(Sender: TObject); var i:integer; begin for i:=0 to panel1.ControlCount-1 do ListBox2.AddItem(Panel1.Controls.Name,ListBox2); end;
成功 谢谢各位 procedure TForm1.ButtonindexClick(Sender: TObject); var i:integer; begin for i:=0 to panel1.ControlCount-1 do ListBox2.AddItem(Panel1.Controls.Name,ListBox2); end;
D duguqiubai Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-25 #9 for i:=0 to panel1.componentcount-1 do 可以对 panel1.components 进行处理;