Delphi中判断控件的详细类型 var t:TFrmMain;begin if(self is TForm) then begin if(self.ClassType=tform) then begin ShowMessage('tform'); end else if(self.classtype=TFrmMain) then b Delphi 2023-09-05 38 点赞 0 评论 57 浏览