B4J Question [WebView] How can i remove scrollbar from webview ?

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X:
WebView1.LoadUrl("https://www.b4x.com")
Wait For WebView1_PageFinished (Url As String)
Dim jo As JavaObject = WebView1
jo.RunMethodJO("getEngine", Null).RunMethod("executeScript", Array( _
   $"document.body.style.overflow = 'hidden';"$))

Seems to disable scrolling as well as hiding the bars.
 
Upvote 0
Top