5,379
社区成员
发帖
与我相关
我的任务
分享
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GeckoBrowser, StdCtrls, GeckoSimpleProfile;
type
TForm1 = class(TForm)
Edit1: TEdit;
Button1: TButton;
GeckoBrowser1: TGeckoBrowser;
GeckoSimpleProfile1: TGeckoSimpleProfile;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
GeckoBrowser1.LoadURI(Edit1.Text);
end;
end.