C codecb Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-12 #1 请问Delphi自己带的TWebBrowser控件做的浏览器如何屏蔽自动弹出的网页
A andy263 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-13 #2 procedure TMainForm.IE1NewWindow2(Sender: TObject; var ppDisp: IDispatch; var Cancel: WordBool); begin Cancel := True; end;
procedure TMainForm.IE1NewWindow2(Sender: TObject; var ppDisp: IDispatch; var Cancel: WordBool); begin Cancel := True; end;
@ @念@ Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-13 #4 procedure Tfrom1.WebBrowser1NewWindow2(Sender: TObject; var ppDisp: IDispatch; var Cancel: WordBool); begin cancel := true; end;
procedure Tfrom1.WebBrowser1NewWindow2(Sender: TObject; var ppDisp: IDispatch; var Cancel: WordBool); begin cancel := true; end;
T taogou Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-13 #5 这么做的话就把超连接打开的网页也给屏蔽掉了,所以是不对的。 我想楼主的意思是怎么才能得到NEWWINDOW2中即将打开的超连接的地址。