Problem now sorted as below.
procedure TForm7.wb2NewWindow2(ASender: TObject; var ppDisp: IDispatch;
var Cancel: WordBool);
var Popup: TForm7;
begin
// a new instance of TForm7 will be created
Popup := TForm7.Create(self);
Popup.Caption := 'Required Caption';
Popup.Show;
ppDisp :=...
Have used the TWebBrowser component OK, except that when a pop up window appears, it is opened in Internet Explorer. Would be grateful for advice on how to get it to open as a TWebBrowser window. Have struggled for a while on this. Delphi version is 2009. Thanks in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.