MhdBoy Member Licensed User Longtime User Oct 29, 2015 #1 Hi, i have a question about web view. In scroll view, we can get the amount of scroll with this code : Code: ScrollView1.Panel.Height But now i want to get this amount in web view, it means the height of contents in web view. But there is no function to do it. I has been try to do this with Java. But it return me null, constantly. Thanks for helping
Hi, i have a question about web view. In scroll view, we can get the amount of scroll with this code : Code: ScrollView1.Panel.Height But now i want to get this amount in web view, it means the height of contents in web view. But there is no function to do it. I has been try to do this with Java. But it return me null, constantly. Thanks for helping
eurojam Well-Known Member Licensed User Longtime User Oct 29, 2015 #2 I think, that can't be done, because there is no physical element from which you can get the height. The scroll height of a webview is depending of its components (text, images so on), so only after rendering. you can try to use the webviewextras, where you can scroll progammaticaly: https://www.b4x.com/android/forum/threads/webviewextras.12453/#post70053 Upvote 0
I think, that can't be done, because there is no physical element from which you can get the height. The scroll height of a webview is depending of its components (text, images so on), so only after rendering. you can try to use the webviewextras, where you can scroll progammaticaly: https://www.b4x.com/android/forum/threads/webviewextras.12453/#post70053