Native Livecode Pinch and Zoom
Sannyasin Brahmanathaswami
brahma at hindu.org
Thu Jul 13 13:58:37 EDT 2017
@ Ralph
as we say in HawaiI
"Oh! Ho!" What is this:
" >I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work.
Can you ask him what the secret is? Pleeze!
@ Richard: Requesting engine level "zoomable" is not OT at all. It's mission critical on small devices and would take LC apps to on phones to whole "'nother" level.
There is AnimationEngine also, that can be leveraged to some extent for this same purpose. but you have get some math going on …so, right "non-trivial"
It would be great if it were easier.
BR
On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
Hi Ralph,
On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote:
>I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work. Other on-line pages don’t pinch-and-zoom
>but they also don’t pinch-and-zoom in Safari/Chrome either. I tried
>the browser widget and it is nice that you can use it in the IDE and
>Mobile but backed it out because the browser widget is missing
>"canretreat" property and "retreat" command.
Could you file a bug about this? (And any differences in parity between
widget and mobileControl, for that matter!).
IIRC we added:
go back in widget ..
go forward in widget ...
To navigate forward / back (so the retreat command is at least catered
for I think). There's also:
do ... in widget ... (although this was a horrendous mistake
syntactically which we are now realizing!)
launch url ... in widget ...
If you put 'widget' into the LiveCodeScript section of the dictionary
then you'll see the widget specific tailorings of normal LiveCode Script
syntax.
Warmest Regards,
Mark.
More information about the use-livecode
mailing list