X xiangfan_zhangk Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-18 #1 怎样将一个String类型的控件名称定位到一个已经存在的控件?? 例:N10:Tmenuitem; N10已经存在于Form上! 怎样通过字符'N10'直接定位到对象N10?
张 张无忌 Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-18 #2 用FindCommponet()函数,名字可能理由小问题, 你看看帮助
P pink_wt Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-18 #4 if FindComponet('n10')<>nil then showmessage('find!');
B breezee Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-18 #5 FindComponent(Const AName:string):TComponent;
B BlueWin Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-26 #6 self.FindComponent('n10')