S
shuoshuo
Unregistered / Unconfirmed
GUEST, unregistred user!
我在某个form上动态的查找某个控件
for i:=0 to ComponentCount-1 do
if components is TSpeedButton then
TSpeedButton(Components.Caption:='SpeedButton';
为什麽老报错,将TSpeedButton换成TButton就好了,这是为什麽?
for i:=0 to ComponentCount-1 do
if components is TSpeedButton then
TSpeedButton(Components.Caption:='SpeedButton';
为什麽老报错,将TSpeedButton换成TButton就好了,这是为什麽?