unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
OleCtrls, NMHTML;
type
TForm1 = class(TForm)
HTML1: THTML;
procedure FormCreate(Sender: TObject);
procedure HTML1EndRetrieval(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
begin
html1.RequestDoc('http://www.gislab.ecnu.edu.cn/delphibbs/');
end;
procedure TForm1.HTML1EndRetrieval(Sender: TObject);
begin
html1.RequestDoc('http://www.shmu.edu.cn/');
end;
end.
运行后无效果?