Post by plugado on Jun 25, 2017 6:24:16 GMT 10
How to disable Popup in DotNetBrowser? I converted this code to vb using telerik: Public Class Aba Public Sub New()
InitializeComponent()
Me.WebView.BrowserType = IIf(My.Settings.BrowserType = False, DotNetBrowser.BrowserType.HEAVYWEIGHT, DotNetBrowser.BrowserType.LIGHTWEIGHT)
Me.DevToolsView.BrowserType = IIf(My.Settings.BrowserType = False, DotNetBrowser.BrowserType.HEAVYWEIGHT, DotNetBrowser.BrowserType.LIGHTWEIGHT)
WebView.URL = My.Settings.Home
DevToolsView.URL = WebView.Browser.GetRemoteDebuggingURL()
WebView.Browser.Context.SpellCheckerService.Enabled = True
WebView.Browser.Context.SpellCheckerService.Language = "pt-BR"
WebView.Browser.Context.SpellCheckerService.FullSpellCheckForced = True
WebView.Browser.PopupHandler = New SamplePopupHandler()'Error CarregarLayout()
Temas.Escuro()
End Sub End Class Public Class SamplePopupHandler
Inherits PopupHandler'Error Public Function HandlePopup(popupParams As PopupParams) As PopupContainer
Return Nothing
End Function
End Class Thanks About Popups : DotNetBrowser
|
|
Post by Nathan Lecompte on Jun 25, 2017 14:54:41 GMT 10
Hi plugado, welcome to the forum! Please use clear titles when asking a question and refrain from using vague titles such as "Help!", "What do?" etc. I've never heard of the DotNetBrowser, I'll have to do some research on it before I can fully understand how it works; is there any documentation provided by the components' developers which might be of help?
|
|
Post by oniii on Jul 24, 2017 1:26:33 GMT 10
Hi plugado , welcome to the forum! Please use clear titles when asking a question and refrain from using vague titles such as "Help!", "What do?" etc. I've never heard of the DotNetBrowser, I'll have to do some research on it before I can fully understand how it works; is there any documentation provided by the components' developers which might be of help? It's a commercial web browser engine. plugado, if you bought it, then get some assistant.
Last Edit: Jul 24, 2017 1:27:11 GMT 10 by oniii
|
|