Ack! I replied without fully grokking what you wrote. I will revisit this and
look at storing them on mouseDown. Thank you!
—
Scott
> On Sep 20, 2020, at 7:00 PM, scott--- via use-livecode
> wrote:
>
> Unfortunately, I did not make any further progress on this one. Stumped.
>
> --
> Scott Mo
Unfortunately, I did not make any further progress on this one. Stumped.
--
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
---
Scott, did you ever figure this out? When are you capturing the mouse locations? If I remember
right, they are accurate if you store them on mouseDown.
I meant to reply sooner but the email got lost in a barrage for a while.
On 9/15/20 8:30 PM, scott--- via use-livecode wrote:
on mobile (just
on mobile (just iOS at the moment) I’m trying to not only register a horizontal
swipe in a UIScroller but to calculate the line in the field under the scroller
so that I can perform a delete action. I can get the swipe but… while these
calculations seem to work fairly well in the IDE, not so muc
Thank you for the thorough explanation of what you are doing and why. I will
give the method that triggers “scrollerDidScrol” a try.
--
Scott
> On May 21, 2020, at 1:22 PM, J. Landman Gay via use-livecode
> wrote:
>
> It was "delayTouches" mostly. Default is true, I had to set it to false. I
It was "delayTouches" mostly. Default is true, I had to set it to false. I also set
canCancelTouches to false but didn't test how necessary that was. Default for that is also true.
This allowed messages to pass through to LC, but you had to very deliberately swipe, holding
down a moment so the
You have probably already looked at these but here are (some of) the scroller
settings I use for the below-mentioned field:
mobileControlSet sScrollerId, "pagingEnabled", "false"
mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only
mobileControlSet sScr
I'm doing something very similar but the problem is that I don't get any
mouse or touch messages at all, which is why I'm thinking it must be the
settings for my ios scroller.
Whatever the defaults are for delayTouches and canCancelTouches, I think at
least one of them needs to be changed.
-
Of course I forgot to declare the local and global variables...
global gHorizontalSwipeDistance
global gVerticalSwipeDistance
local lMouseStartV
local lMouseStartH
> On May 19, 2020, at 3:20 PM, scott--- via use-livecode
> wrote:
>
> I’m using this script on iOS directly inside a LC field obje
I’m using this script on iOS directly inside a LC field object in order to get
a "delete button” to appear. (Ya, I know that is pretty ancient UI) But it
requires a swipe on iOS which is what you are after. I don’t think it is
responsive enough to do some of the fancy pushes that differentiate b
I don't have an answer and hope someone else does. I hate my workaround.
My workaround is to leave a space on either side of the field (45 px or so..
haven't tried to minimize).
After the user gets frustrated enough, they end to do a swipe near the edge of
the screen (across the blank space and
Would the problem be due to the settings for canCancelTouches and delayTouches? What are the
defaults? And what behaviors do they control exactly? I can't quite figure out what the
dictionary is saying.
On 5/19/20 4:21 PM, J. Landman Gay via use-livecode wrote:
I have a tall field inside a shor
12 matches
Mail list logo