H2365 Override method should match case of ancestor的Hint提示说明
来源:互联网 发布:如何发淘宝店铺链接 编辑:程序博客网 时间:2024/06/15 09:25
在编译delphi的时候会报这个hint:
[Pascal Hint] ***Frm.pas(111): H2365 Override method ***Form.Createparams should match case of ancestor TCustomForm.CreateParams这是在重写
procedure CreateParams(Var Params:TCreateParams);override;
还有一个错误
[Pascal Hint] ***Frm.pas(109): H2269 Overriding virtual method '***Form.CreateParams' has lower visibility (private) than base class '***Form' (protected)
方法的时候delphi编译器给出的hint,hint的含义是方法的权限范围放的不合理。我查看了以下发现本来该放在protect下的结果放在了private之下,所以会给出这个提示,换个位置,果然没有了提示。再去查看delphiform的这个方法,果然是放在protect下的。OK问题解决!
每天进步一点点~
- H2365 Override method should match case of ancestor的Hint提示说明
- eclipse 提示错误The method of type must override a superclass method 的解决办法
- 导入项目的时候,提示说@override The method of type must override a superclass method解决方式的错误
- 导入工程提示The method of type must override a superclass 的解决方法
- override方法时,eclipse提示The method *** of type CourseServiceImpl must override a superclass method
- Hive UNION ALL 提示 Schema of both sides of union should match.
- 轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
- @Override的问题: The method of type must override a superclass method
- Oracle Hint的用法(HINT提示)
- android工程出现"The method * of type * must override a superclass method"的解决方法
- The method process(ItemDetailInfo, Task) of type ItemRuKuUtils must override a superclass method的解决方
- eclipse 提示 @Override must override a superclass method 问题解决
- The method of type must override asuperclass? annotation:@Override
- 错误提示 Suspicious method call; should probably call "draw" rather than "onDraw" 的解决方法
- hint提示的相关介绍
- The method of type must override a superclass method解决方法
- The method *** of type ** must override a superclass method
- The method of type must override a superclass method 解决
- Android Launcher icon 放大
- HDU1788 Chinese remainder theorem again
- HTML5特性 > Canvas >基础绘图
- linux虚拟文件系统浅析
- 字符编码详解及由来
- H2365 Override method should match case of ancestor的Hint提示说明
- apache2启动时共享库libpcre找不到
- ARM简介及BootLoader介绍
- c/c++ struct union 对齐方式
- 关于AutoResetEvent和ManualResetEvent 全面总结
- linux系统找到apache进程配置apache,重启apache
- 利用CImage完成图片的显示、拷贝、绘制及转换图片格式
- Web应用部署
- 软件开发和机械制造的核心差别