RDMLX WebView
RDMLX WebView
I'm using the Longrange container (a whitebox version) to host a VLWEB app. A webview fills the entire client area (apart from the top bar). I've set AllowZoom to No but I an still zoom in and out by pinching and drag the page to the left or right after which it bounces back. How can I prevent this behaviour?
Re: RDMLX WebView
OK, I've found a setting in VLWEB 'Allow Zoom In' which I've set to No so now zooming is disabled. Which is great. I can still slide the whole page to the left or right with my finger (it then bounces back). How can I disable this behaviour?
Re: RDMLX WebView
May I know your client system? Is it iOS or Android? Thanks.
Re: RDMLX WebView
Jason, this is on ios (ipad)
Re: RDMLX WebView
Please make sure the form size fits the screen, if form size is bigger than screen, you will see bounce effect when scroll to the end of form. You can try out the following demo code, it works ok, no bounces happen.
Thanks
Code: Select all
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #LRNG_FORM)
Mthroutine Name(HandleRequest) Options(*REDEFINE)
#COM_OWNER.Set_Form Grid_Row_N(1) Grid_Row_Height(Fill)
#COM_OWNER.Set_Form Grid_Col_N(1) Grid_Col_Width(Fill)
#COM_Owner.Set_WebView Name('/Form.FIELDS.SITE1WEB') Url('http://www.lansa.com.au') Layout_Row(1) Layout_Col(1) Allowzoom(False)
Endroutine
End_Com
Re: RDMLX WebView
Jason
Doh! All fixed now. I'd missed out q fit to width on my appbar in the layout.
Thanks for your help.
Jim
Doh! All fixed now. I'd missed out q fit to width on my appbar in the layout.
Thanks for your help.
Jim