Y ynjinti Unregistered / Unconfirmed GUEST, unregistred user! 2001-06-07 #1 如何把字符转换成类:如"TButton"->TButton.
G gear1023 Unregistered / Unconfirmed GUEST, unregistred user! 2001-06-10 #2 如果要实现动态设置控件可。 var tmpComp:Tcomponent; begin ... if LowerCase(tmpComp. ClassName)=LowerCase('TButton') then begin TButton(tmpComp). .... end; ... end;
如果要实现动态设置控件可。 var tmpComp:Tcomponent; begin ... if LowerCase(tmpComp. ClassName)=LowerCase('TButton') then begin TButton(tmpComp). .... end; ... end;