F Fabio Fabozzi Member Licensed User Longtime User Feb 19, 2015 #1 Hi, I'm finding a way to disable the context menu from the webview control in bj4. Althought the designer provides a checkbox to enable and disable, this option doesn't work. Any suggestion is welcome. Thank you
Hi, I'm finding a way to disable the context menu from the webview control in bj4. Althought the designer provides a checkbox to enable and disable, this option doesn't work. Any suggestion is welcome. Thank you
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2015 #2 You can use this code: B4X: Dim jo As JavaObject = WebView1 jo.RunMethod("setContextMenuEnabled", Array(False)) Upvote 0
You can use this code: B4X: Dim jo As JavaObject = WebView1 jo.RunMethod("setContextMenuEnabled", Array(False))
F Fabio Fabozzi Member Licensed User Longtime User Feb 19, 2015 #3 Thank You very much Erel. This snippet suits my needs. Upvote 0