Re: Mobile Scroller

2021-06-30 Thread Tom Glod via use-livecode
reeninfo.net >> >> -Original Message- >> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On >> Behalf Of Tom Glod via use-livecode >> Sent: Friday, June 18, 2021 9:23 PM >> To: How to use LiveCode >> Cc: Tom Glod >> S

Re: Mobile Scroller

2021-06-19 Thread Tom Glod via use-livecode
vecode > Sent: Friday, June 18, 2021 9:23 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Mobile Scroller > > Ralph, it's in the orientationchanged handler > > Brian Thanks. !!! > > > On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livec

RE: Mobile Scroller

2021-06-18 Thread Ralph DiMola via use-livecode
ia use-livecode Sent: Friday, June 18, 2021 9:23 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Mobile Scroller Ralph, it's in the orientationchanged handler Brian Thanks. !!! On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < use-livecode@lists.runrev.com>

Re: Mobile Scroller

2021-06-18 Thread Tom Glod via use-livecode
Ralph, it's in the orientationchanged handler Brian Thanks. !!! On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < use-livecode@lists.runrev.com> wrote: > I have this working in SivaSiva for the stories module on Android. It > locks up on iOS so I have rotation disabled

Re: Mobile Scroller

2021-06-18 Thread Brian Milby via use-livecode
I have this working in SivaSiva for the stories module on Android. It locks up on iOS so I have rotation disabled for now. In my use case, the group is essentially the full screen with an image that is being moved around. I’ll try to find the specific scripts tonight. Thanks, Brian Sent fro

RE: Mobile Scroller

2021-06-18 Thread Ralph DiMola via use-livecode
Tom, What handler are you doing this in? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tom Glod via use-livecode Sent: Friday, June 18, 2021 2:51 PM To: H

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
Thanks to a little off list help from Jacque, I was able to get this working. Here's the key piece: wait 10 milliseconds -- Panos workaround, bug #18924 mobileControlSet pName, "hScroll", the hScroll of control pName mobileControlSet pName, "vScroll", the vScroll of control pName The wo

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
It starts zoomed out with the whole image showing. A tap will zoom in about 25% each time until fully zoomed in (pixel match to display). The idea is that the image will zoom from the center instead of from the top/left. No transition effects are currently used. At each size, the user can sc

Re: Mobile Scroller Advice

2021-04-14 Thread J. Landman Gay via use-livecode
I'm a little confused. Do you want the zoom to happen within a group with a scroller? I've done this a different way. Delete any existing scroller, lock the screen, resize the image and its group, unlock the screen with a visual effect like zoom in or whatever. Then recreate the scroller at th

RE: Mobile scroller misaligned

2019-10-25 Thread Ralph DiMola via use-livecode
...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, October 25, 2019 3:21 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Mobile scroller misaligned I am still struggling

Re: Mobile scroller misaligned

2019-10-25 Thread J. Landman Gay via use-livecode
I am still struggling with native scroller alignment when the scroll must be set to something other than zero. Since I've asked here twice with little response, maybe I just need to know more about how scrollers work under the hood. Panos? Anyone? * If I set the vScroll or hScroll of a scrolle

Re: Mobile scroller

2016-08-19 Thread J. Landman Gay
On 8/19/2016 3:02 PM, Ralph DiMola wrote: How can a mobile scroller be in layer behind a field control? It isn't really, it just acts like that. I see the scroller getting created and do its usual short flash of the scroll indicators but you can't use it but instead it sends mouseup to the fi

Re: Mobile Scroller with Snapping?

2012-12-11 Thread Scott Rossi
OK, I think I figured out the problem. Apparently mobileControlGet(theID,"vScroll") sometimes returns a decimal value (i.e. 10.5), but LiveCode doesn't allow setting the vScroll of a field to a decimal value, so the field wouldn't scroll. Rounding mobileControlGet(theID,"vScroll") appears to have