wineos Member Licensed User Longtime User Jul 8, 2015 #1 Hi, Is there any method for B4i WebView to raise up something like Touch Event? I need a WebView with scrollbar, and also can be flingable on it. Thank you.
Hi, Is there any method for B4i WebView to raise up something like Touch Event? I need a WebView with scrollbar, and also can be flingable on it. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2015 #2 The touch events are handled by WebView internally. Upvote 0
wineos Member Licensed User Longtime User Jul 8, 2015 #3 Erel, then how can I get the touch event just like what B4A FlingableWebView lib? I need to get the movement X to change the content of WebView. Thank you. Upvote 0
Erel, then how can I get the touch event just like what B4A FlingableWebView lib? I need to get the movement X to change the content of WebView. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2015 #4 You can try to put a transparent Panel over the WebView and handle its touch event. Upvote 0
wineos Member Licensed User Longtime User Jul 8, 2015 #5 Erel, but if I put a panel over it, how can I scrolling it by panel_touch event? Thank you. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2015 #6 There is no simple way to do it. Try to inject JavaScript that will scroll the page: https://www.b4x.com/android/forum/threads/reading-and-writing-pdf-documents.48308/#post-343262 Upvote 0
There is no simple way to do it. Try to inject JavaScript that will scroll the page: https://www.b4x.com/android/forum/threads/reading-and-writing-pdf-documents.48308/#post-343262
wineos Member Licensed User Longtime User Jul 8, 2015 #7 I see. I will take a try. Thank you, Erel. Upvote 0