W wuqiu Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-03 #1 在Delphi中有个is关键字,可以用它来判断一个类是否属于某个类或子类, 请问在BCB中对应的关键字或函数是哪一个呢?
W wuqiu Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-03 #3 呵呵,我找到了,原来是: TComponent *Temp=Application->MainForm->Components; if (dynamic_cast<TWinControl *>(Temp) != NULL) { } 呵呵!
呵呵,我找到了,原来是: TComponent *Temp=Application->MainForm->Components; if (dynamic_cast<TWinControl *>(Temp) != NULL) { } 呵呵!