Mouse messages in scrollers
scott at elementarysoftware.com
scott at elementarysoftware.com
Sun Sep 20 22:00:30 EDT 2020
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 scott at elementarysoftware.com
booth 1-360-734-4701
------------------------------------------------------
> On Sep 20, 2020, at 1:17 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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 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 much in the simulator. both the mouseH and the mouseLoc report a value but when I check it during scrollerDidScroll the X value is always 0 and the Y value is always the bottom of the screen… which of course is not particularly helpful. Am I doing something wrong or is this just not available when a scroller is under the “mouse”? Setting delayTouches and canCancelTouches to false doesn’t appear to change anything.
>
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list