Widget request (native text scroller for iOS)
john.allijn.lc at gmail.com
Wed Nov 30 14:35:29 CET 2016
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:
put the mouseV into sStartV
put the scroll of me into tStartScroll
put the mouseV - sStartV into tDistance
set the scroll of me to tStartScroll - tDistance
> On 29 Nov 2016, at 19:46, John Allijn <john.allijn.lc at gmail.com> wrote:
> Good to know.
>> On 29 Nov 2016, at 19:40, Richard Gaskin <ambassador at fourthworld.com> 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 is to fix a bug with scrolling on the existing field
>>>> object IMO that's just a bug.
>>> 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 code. It is my personal
>>> opinion that a text field that I drag into a stack should behave as
>>> a native mac field on the mac and a native 'scroller' on iOS. And as
>>> a programmer in livecode I should benefit from the code-once-deploy-
>>> everywhere features of livecode.
>>> I understand that the implementation of fields in livecode is not yet
>>> at this point.
>> But it should be. Simplicity of multi-platform deployment is why we choose LiveCode.
>> And that's why I consider this a bug.
>> And thankfully this (along with a few other refinements) is among the funded goals the team is working on:
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> Ambassador at FourthWorld.com http://www.FourthWorld.com
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode