Y yhb8367 Unregistered / Unconfirmed GUEST, unregistred user! 2008-07-30 #1 如何判断如 TMemo 类属于 TContol类 但 TMainMenu类不属于TContol类
Y yhb8367 Unregistered / Unconfirmed GUEST, unregistred user! 2008-07-30 #3 在控件事件里这样可以判断 if (Sender is tControl) then showmessage(Sender.ClassName) else showmessage('no'); 可是在过程里应当怎样做啊??? 如下 T := TControl(Components); if not (TControl(Components).??? is TControl) then Continue; 请各位大侠指教
在控件事件里这样可以判断 if (Sender is tControl) then showmessage(Sender.ClassName) else showmessage('no'); 可是在过程里应当怎样做啊??? 如下 T := TControl(Components); if not (TControl(Components).??? is TControl) then Continue; 请各位大侠指教
W wubo830814 Unregistered / Unconfirmed GUEST, unregistred user! 2008-07-30 #5 T := Components; if not (Components.ClassName is TControl) then Continue;