Front and Back Scripts on Mobile
Richard Gaskin
ambassador at fourthworld.com
Mon Jul 4 12:42:08 EDT 2016
J. Landman Gay wrote:
> On July 4, 2016 9:34:52 AM Richard Gaskin wrote:
>
>> On the desktop, a scrollable object is distinguished by having
>> scrollbars.
>>
>> On mobile, of course, we don't want the scrollbars shown since that's
>> not how mobile scrolling interaction works there. But development
>> occurs on the desktop, so having scrollbars lets me work with the
>> objects in a way that makes sense in that environment, AND it
>> provides a flag to let my backscript know which objects will need a
>> scroller interaction overlay when run on mobile devices.
>
> If the backscript removes the scrollbar when creating a native
> scroller, how do you test when the user returns to the same card?
> The desktop scrollbar will now be gone.
Yep, encountered that first time I ran it on my phone. :)
Since then the routines that instantiate naive mobile controls set a
custom property in each LC control they relate to.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list