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
t; -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: How to use LiveCode > > Cc: Tom Glod > > Subject: Mobile Scroller

Re: Mobile Scroller

2021-06-18 Thread Brian Milby via use-livecode
e- > 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: How to use LiveCode > Cc: Tom Glod > Subject: Mobile Scroller > > Hi Folks, > > I implemented a MobileControl &q

RE: Mobile Scroller

2021-06-18 Thread Ralph DiMola via use-livecode
: How to use LiveCode Cc: Tom Glod Subject: Mobile Scroller Hi Folks, I implemented a MobileControl "Scroller" to scroll a group. Works great. However when I change the orientation, it no longer works correctly. - I tried to just update the properties relating to the rect

Mobile Scroller

2021-06-18 Thread Tom Glod via use-livecode
Hi Folks, I implemented a MobileControl "Scroller" to scroll a group. Works great. However when I change the orientation, it no longer works correctly. - I tried to just update the properties relating to the rect - deleting / recreating mobileControlSet "CardContentScroller","visible",t

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
Gay | jac...@hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > >> On April 13, 2021 10:31:58 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> > >> Greetings on this lovely Tuesday evening. I'm in

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
t you're asking? > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On April 13, 2021 10:31:58 PM Brian Milby via use-livecode >> wrote: >> >> Greetings on this lovely Tuesday evening. I'm

Re: Mobile Scroller Advice

2021-04-14 Thread J. Landman Gay via use-livecode
croller at the new group size. Is that what you're asking? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 13, 2021 10:31:58 PM Brian Milby via use-livecode wrote: Greetings on this lovely Tuesday evening. I'm in nee

Mobile Scroller Advice

2021-04-13 Thread Brian Milby via use-livecode
Greetings on this lovely Tuesday evening. I'm in need of a little mobile scroller wisdom. I'm working on an app that runs on mobile devices (Apple and Android). We are presenting an image and have enabled the ability for the user to tap on the image to zoom in. Everything is working

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
use-livecode wrote: I must be doing something wrong, I still can't get a mobile scroller to align at anything other than zero. It fails on scrollers placed over either images or scrolling fields. I have a list field with a lot of lines, grouped, with the group shorter than the field. On mo

Mobile scroller misaligned

2019-09-27 Thread J. Landman Gay via use-livecode
I must be doing something wrong, I still can't get a mobile scroller to align at anything other than zero. It fails on scrollers placed over either images or scrolling fields. I have a list field with a lot of lines, grouped, with the group shorter than the field. On mobile (Android

Re: Move several fields by a mobile scroller to allow to enter text into the lower fields

2019-06-15 Thread J. Landman Gay via use-livecode
I usually move the group up to the top of the card on keyboardActivated and back down on keyboardDeactivated, but if you have a lot of fields or groups that can be a pain. There's a bug report /feature request to add card scrolling which would be the ideal way to fix the problem but it hasn't h

Move several fields by a mobile scroller to allow to enter text into the lower fields

2019-06-15 Thread Matthias Rebbe via use-livecode
Hi, i am working on an app which also contains several cards with forms. The problem is that the lower fields are covered by the keyboard. There´s a lesson from 2012 which describes how to create a scrolling group using a native scroller. Is it still the way to go or are there other possibiliti

Re: Setting mobile scroller hScroll fails

2019-05-30 Thread J. Landman Gay via use-livecode
On 5/29/19 6:22 PM, Monte Goulding via use-livecode wrote: The max scroll will be the formattedWidth of the group - the width of the group unless you have unboundedHScroll true. I_think_ if it’s false then the engine will automagically clamp that though. I tried that but it didn't scroll to

Re: Setting mobile scroller hScroll fails

2019-05-30 Thread J. Landman Gay via use-livecode
ising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately before setting the hScroll of the scroller? Cheers Monte On 27 May 2019, at 8:03 am, J. Landman Gay via

Re: Setting mobile scroller hScroll fails

2019-05-29 Thread Monte Goulding via use-livecode
> On 30 May 2019, at 5:01 am, J. Landman Gay via use-livecode > wrote: > > Thanks Monte, I did over-summarize. I'm not sure why it's going wrong, but it > sounds like it's something I'm doing. I have a standard "createScroller" > handler that I've been using for years, but I've never had to

Re: Setting mobile scroller hScroll fails

2019-05-29 Thread Brian Milby via use-livecode
here. For example, > > I expect you mean to set the hScroll of the group to the formattedWidth - > > the width of the group. Are you setting the contentRect appropriately > > before setting the hScroll of the scroller? > > > > Cheers > > > > Monte &

Re: Setting mobile scroller hScroll fails

2019-05-29 Thread J. Landman Gay via use-livecode
On 5/28/19 6:33 PM, Monte Goulding via use-livecode wrote: Hi Jacque I’m thinking you are over summarising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately befo

Re: Setting mobile scroller hScroll fails

2019-05-28 Thread Monte Goulding via use-livecode
On 27 May 2019, at 8:03 am, J. Landman Gay via use-livecode > wrote: > > I want to verify this is a bug and not just me. > > I'm creating a mobile scroller over a group. I want the group to initially > display with its hScroll all the way to the right. I'm doing t

Re: Setting mobile scroller hScroll fails

2019-05-27 Thread JJS via use-livecode
want to verify this is a bug and not just me. I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: zoom the group out to fill the screen create a mobile scroller with the same rect set the hScr

Setting mobile scroller hScroll fails

2019-05-26 Thread J. Landman Gay via use-livecode
I want to verify this is a bug and not just me. I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: zoom the group out to fill the screen create a mobile scroller with the same rect set the

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
I wish. :) I'm hoping the LC team will fix it. Apparently that would solve problems for a lot of us. On 11/20/16 3:53 PM, Scott Morrow wrote: Jacque, I had intermittent luck with touchMove as well. I was using it to swipe open a “delete” button. In the app that uses this feature there is anot

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Scott Morrow
Jacque, I had intermittent luck with touchMove as well. I was using it to swipe open a “delete” button. In the app that uses this feature there is another way to accomplish the same thing so I settled for intermittent. Selfishly, hoping it was something I did wrong and that you would solve it

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
On 11/20/16 12:36 PM, Paul Hibbert wrote: It is only a workaround implemented by intercepting the scrollerDidScroll message I just tried both Scott's touchMove solution and Paul's scrollerDidScroll suggestion but neither seem to work on Android. I'm not surprised there was no scrollerDidScr

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 20, 2016, at 11:03 AM, J. Landman Gay wrote: > > does that mean the hscroll property of the mobile scroller must be true? Just tried this simplified version and it works fine too: on scrollerDidScroll hOffset, vOffset // Scroll Detect // if hOffset <0 then ##--&g

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 20, 2016, at 11:03 AM, J. Landman Gay <mailto:jac...@hyperactivesw.com>> wrote: > > does that mean the hscroll property of the mobile scroller must be true? No, the hScroll prop is still false, you are just detecting and using (diverting) the information that the

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
tect it and use it to swipe. Right, but does that mean the hscroll property of the mobile scroller must be true? Right now mine's false so I assumed it wouldn't even try to detect scrolling horizontally. I can change that setting of course. But your solution and Scott's are very

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 19, 2016, at 8:06 PM, J. Landman Gay wrote: > > I'm not sure how it could work, since the horizontal scroll of my field is > always zero. It doesn't scroll horizontally at all. The actual hScroll of the field isn’t set, only the vScroll is set in this example, but it can detect that

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Scott Morrow
ltogether on >>> android and used left and right buttons instead. Things might have >>> improved then but based on your experience it sounds unlikely. Happy >>> to dig out my hacky iOS code if that helps but engine level fixes >>> would be better. >>> &

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
ov 2016, at 6:39 AM, J. Landman Gay wrote: On 11/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
1/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not sure, but after a couple they stop) and no m

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread Terry Judd
20 Nov 2016, at 6:39 AM, J. Landman Gay wrote: > >> On 11/19/16 2:18 AM, J. Landman Gay wrote: >> I have a native mobile scroller handling the vertical scroll of a field. >> I want to add swipe gestures to change cards. When swiping, I get a >> mouseDown, sporadic mo

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread Paul Hibbert
> On Nov 19, 2016, at 11:38 AM, J. Landman Gay wrote: > > Anyone have a workaround? Kind of! I built an iOS app that needed to display some long fields of text, I built some pages based around this lesson: http://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-fiel

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
On 11/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not sure, but after a couple they stop) and no

Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not sure, but after a couple they stop) and no mouseUp at all. I tried using

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 mous

Mobile scroller

2016-08-19 Thread Ralph DiMola
OK Batman, riddle me this... How can a mobile scroller be in layer behind a field control? 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 field that goes to another card that has scrolling re

RE: CanCancelTouches Kills Mobile Scroller?

2014-03-30 Thread John Dixon
;canCancelTouches' set to true and never seem to have a problem with scrollers. > On Mar 30, 2014, at 4:42 PM, Scott Rossi wrote: > > > Hey mobile dev folks: > > > > I'm wondering if anyone has come across an issue iOS issue of a mobile > > scroller b

Re: CanCancelTouches Kills Mobile Scroller?

2014-03-30 Thread Stephen MacLean
> I'm wondering if anyone has come across an issue iOS issue of a mobile > scroller becoming non-responsive if its canCancelTouches is set to false. > > I've been working with LC 6.5.2 and 6.5.1, and an xCode 7.0 build. Things > run fine in the simulator. However, when

CanCancelTouches Kills Mobile Scroller?

2014-03-30 Thread Scott Rossi
Hey mobile dev folks: I'm wondering if anyone has come across an issue iOS issue of a mobile scroller becoming non-responsive if its canCancelTouches is set to false. I've been working with LC 6.5.2 and 6.5.1, and an xCode 7.0 build. Things run fine in the simulator. However, whe

Re: Mobile Scroller with Snapping?

2012-12-11 Thread Scott Rossi
quot;vScroll") appears to have solved the problem. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/11/12 12:27 PM, "Scott Rossi" wrote: >Has anybody been able to set up a mobile scroller with scrolling that >"snaps" to a predefined distance?

Mobile Scroller with Snapping?

2012-12-11 Thread Scott Rossi
Has anybody been able to set up a mobile scroller with scrolling that "snaps" to a predefined distance? I have a set of icons in a vertical scroller which I want to snap to a multiple of the icon height once the scroller completely decelerates/stops dragging. Using 5.5.1, the routi