delphi中cannot find implementation of method2010

简介:

delphi中cannot find implementation of method2010

delphi中cannot find implementation of method WebBrowser1DocumentComplete

使用一个自定义的函数之前,要在代码中的implementation区域给函数做一个声明

例如:
type中:
procedure WebBrowser1DocumentComplete(Sender: TObject;
      const pDisp: IDispatch; var URL: OleVariant);这样就声明了一个方法

您可以把光标定位到这上面声明语句上,然后按下Ctrl+Shift+C,编译器会自动在implementation区域为您生成这个过程活函数的代码块如下:
implementation中:
procedure TForm1.WebBrowser1DocumentComplete(Sender: TObject;
const pDisp: IDispatch; var URL: OleVariant);
begin

end;
 
 

一般出现这种情况是因为直接复制其他窗口到新窗口













本文转自鹅倌51CTO博客,原文链接:http://blog.51cto.com/kaixinbuliao/842771 ,如需转载请自行联系原作者







相关文章
|
4月前
|
缓存 Dart 开发工具
解决Flutter报错The method ‘File.create‘ has fewer named arguments than those of overridden method
解决Flutter报错The method ‘File.create‘ has fewer named arguments than those of overridden method
68 3
|
6月前
|
IDE 前端开发 Java
IDE报错 NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field ‘
IDE报错 NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field ‘
2320 2
|
程序员 iOS开发 开发者
iOS开发:报错‘Unknown class ViewController in Interface Builder file’解决方法
在iOS开发过程中,会遇到一些比较常见的错误,尤其是刚入门的初级开发者,如果不熟练的话就会出错,本篇博文就来分享一个常见的问题,即报错‘Unknown class ViewController in Interface Builder file’的解决方法。
486 1
iOS开发:报错‘Unknown class ViewController in Interface Builder file’解决方法
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZMCertification", referenced from:解决方法
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZMCertification", referenced from:解决方法
207 0
|
Java 关系型数据库 MySQL
15. 成功解决:java: Can't generate mapping method with primitive return type.
今天启动 SpringBoot 项目时,报了如下错误:`java: Can't generate mapping method with primitive return type.`
1059 0
|
Android开发 Kotlin
kotlin协程库报错“Program type already present”解决
最近在学习kotlin,学习到协程库这一块了,针对Android的话就是coroutines-android库。本来学习就不容易了,再加上kotlin现在还处于快速变化期,那个酸爽简直了,废话不多说,进入正题。
|
Java
解决bug:项目配置java8时出现Error:Jack is required to support java 8 language features...
解决bug:项目配置java8时出现Error:Jack is required to support java 8 language features...
335 0
解决bug:项目配置java8时出现Error:Jack is required to support java 8 language features...
|
Kotlin
kotlin使用代码javaClass或class.java报错:unresolved reference
解决方法: 在项目的build.gradle中配置一下即可
1505 0
|
Android开发
【错误记录】Android Studio 配置 AspectJ 报错 ( all buildscript {} blocks must appear before any plugins {} )
【错误记录】Android Studio 配置 AspectJ 报错 ( all buildscript {} blocks must appear before any plugins {} )
1092 0
|
开发工具
com.tencent.tiker.loader.TinkerRuntimeException:Tinker Exception:can’t recognize dex mod
com.tencent.tiker.loader.TinkerRuntimeException:Tinker Exception:can’t recognize dex mod
108 0