Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cancel opening of new tab/window
#1
Is there a way to prevent a new window from opening and to just navigate to the page instead within the current browser window?

I can catch the trigger by using the Args.URI to get the destination but I can't work out how to then kill or cancel the new window from loading.

Private Sub EdgeWebBrowser_OnNewWindowRequested(ByVal Args As AntViewAx.IAntViewNewWindowRequestedEventArgs)

EdgeWebBrowser.Navigate Args.URI

End Sub


Thanks
Reply
#2
Hi,

Yes, the solution for that is here:
https://forums.antwise.com/showthread.ph...323#pid323

--
Wil
Reply
#3
Thanks. I should have checked the forum first Smile
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)