wb1: TWebBrowser;出错
delphi吧
全部回复
仅看楼主
level 2
嶙峋215 楼主
求帮助!刚开始学delphi。运行时为啥会提示Field Form1.web1 does not have a corresponding componet.
是少导入什么东西了吗?
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, OleCtrls, SHDocVw, MSHTML;
type
TForm1 = class(TForm)
wb1: TWebBrowser;
Edit1: TEdit;
Edit2: TEdit;
Label1: TLabel;
Label2: TLabel;
Button1: TButton;
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
end.
2014年10月26日 13点10分 1
level 10
代码要亲自写,控件要亲自拖。不要复制粘贴,否则活该。
2014年10月26日 14点10分 3
1