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


Messages In This Thread
Cancel opening of new tab/window - by maddire - 2022-07-05, 18:55:00
RE: Cancel opening of new tab/window - by wila - 2022-07-05, 20:22:30
RE: Cancel opening of new tab/window - by maddire - 2022-07-05, 20:44:41

Forum Jump:


Users browsing this thread: 1 Guest(s)