Antwise community forums

Full Version: Cancel opening of new tab/window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hi,

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

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