procedure TForm1.wb1NewWindow2(Sender: TObject; var ppDisp: IDispatch;<br> var Cancel: WordBool);<br>var FormNew: TForm1;<br>begin<br> FormNew := TForm1.Create(self);<br> with FormNew do<br> begin<br> wb1.RegisterAsBrowser := true;.//默认浏览器<br> ppDisp := wb1.Application;<br> end;<br> FormNew.Show;<br>end;