红鱼儿

2019年2月14日

delphi reintroduce作用

摘要: 当在子类中重载或者重新声明父类的虚方法时,使用 reintroduce 关键字告知编译器,可以消除警告信息. 如: 如果此时没有reintroduce关键字,则会出现如下的警告信息: [Warning] Unit1.pas(20): Method 'proc' hides virtual metho 阅读全文

posted @ 2019-02-14 08:00 红鱼儿 阅读(1018) 评论(0) 推荐(0) 编辑