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 193 点赞 2 评论 292 浏览