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
Whenever someone says "math" my eyes kind of glaze over and my brain shuts off. I'm using your sample script to resize the group so it expands to the screen edges, which works great. I'm not sure how to change the scroller so it works with that setup, but I did wonder if scrollers were limited

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
I think it is going to take some math but the scroller should be set for the area within the card rect since the areas left/right are not going to be responsive to the scroller. Thanks, Brian On May 29, 2019, 2:01 PM -0500, J. Landman Gay via use-livecode , wrote: > Thanks Monte, I did

Re: Setting mobile scroller hScroll fails

2019-05-29 Thread J. Landman Gay via use-livecode
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 set the hScroll before. It's always been zero. In this case, I set the hScroll

Re: Setting mobile scroller hScroll fails

2019-05-28 Thread Monte Goulding via use-livecode
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 before setting the hScroll of the scroller? Cheers Monte > On

Re: Setting mobile scroller hScroll fails

2019-05-27 Thread JJS via use-livecode
Something similair with 2 fields, of which one did scroll (vertical) and the other not, Although the script for both was the same except for some naming to distinguish them. Did not have time to upon it further. (on Android) Op 27-5-2019 om 00:03 schreef J. Landman Gay via use-livecode: I

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 hScroll of