Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Scott Morrow
John, I’ve put some pretty complex groups under an iOS scroller and had it work quite well. My problem is that I forget the on scrollerDidScroll hOffset, vOffset // When the user scrolls move the displayed content set the vScroll of group "scrollArea" to vOffset end scrollerDidScroll part

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Richard Gaskin
J. Landman Gay wrote: > Scrollers are picky, you have to make sure that: > > 1. The full length of the field is displayed. It can't be a scrolling > field, it has to be a very tall field at its full height so all > content is visible. It's okay if it runs off the window. > 2. The field must have

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread John Allijn
Hi Jacqueline, Thanks for the long answer and for sharing the code. I’ll try it out tomorrow! best regards, John. > On 30 Nov 2016, at 21:34, J. Landman Gay wrote: > > On 11/30/16 7:35 AM, John Allijn wrote: >> I can’t get the scroller working > > I haven't had

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread J. Landman Gay
On 11/30/16 7:35 AM, John Allijn wrote: I can’t get the scroller working I haven't had any problem with scrollers on either iOS or Android, barring a specific vScroll bug that's been reported. (http://quality.livecode.com/show_bug.cgi?id=18924) Aside from that they work very well as long

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Richard Gaskin
John Allijn wrote: > I can’t get the scroller working but have a workaround for anyone > else who may have this problem. > Not so fancy, but it works… > > use a normal text field and lock the text > then set the script of the field to this: > > local sStartV > local tDistance > local

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread John Allijn
I can’t get the scroller working but have a workaround for anyone else who may have this problem. Not so fancy, but it works… use a normal text field and lock the text then set the script of the field to this: local sStartV local tDistance local tStartScroll on mouseDown put the mouseV

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Good to know. Thanks! > On 29 Nov 2016, at 19:40, Richard Gaskin wrote: > > John Allijn wrote: > > >> Op 29 nov. 2016 om 17:15 heeft Richard Gaskin het volgende geschreven: > >> Widgets are great for making new kinds of objects, but if all that's > >> needed here

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread Richard Gaskin
John Allijn wrote: >> Op 29 nov. 2016 om 17:15 heeft Richard Gaskin het volgende geschreven: >> Widgets are great for making new kinds of objects, but if all that's >> needed here is to fix a bug with scrolling on the existing field >> object IMO that's just a bug. > > Hi Richard, > I don't

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Hi Richard, I don't think it's a bug. It's just me not being a very skilled programmer :) Thats why I choose livecode. The thing is that native mobile objects are almost completely implemented by code. Where as desktop objects can be dragged into a stack and than be accessed and updated by

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread Richard Gaskin
John Allijn wrote: > Most of the time when I work on an iOS app, I run into problems with > scrollers, fields that scroll their contents over the screen. > > Usually I have just one scrollable field on a card with variable text > in it. Most often this text is downloaded from a database and I

Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Hello, Most of the time when I work on an iOS app, I run into problems with scrollers, fields that scroll their contents over the screen. Usually I have just one scrollable field on a card with variable text in it. Most often this text is downloaded from a database and I just put the plain