Front and Back Scripts on Mobile

J. Landman Gay jacque at hyperactivesw.com
Mon Jul 4 15:37:24 EDT 2016


On 7/4/2016 11:42 AM, Richard Gaskin wrote:
> 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.
>

Figured it had to be something like that. Thanks.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list