Scrolling group on iPad

Robert Sneidar slylabs13 at me.com
Sun Aug 4 15:24:54 EDT 2013


I may have asked you before I don't remember. I had a friend a long time ago named Jim Sims who used to have a handyman business in So Cal. Would that be you?

Bob Sneidar


On Aug 4, 2013, at 9:21 AM, Jim sims wrote:

> Solved - i think
> 
> Just in case somone else has a similar issue here is what i did.
> 
> At scrollerBeginDrag i set the filenames of the images to empty but kept
> text field text.
> 
> At scrollerEndDrag i reloaded the filenames into the images.
> 
> These images are all thumbnails so they load very quickly, plus there are
> not that many.
> 
> This will be done at a museum with a local server and apple airports things
> (maybe the only bottleneck) so it should be quick.
> 
> My test was fast with a server in Texas and me in Venice,
> Italy...wait...Jeez what am i doing at this desk!! Venice! Going to
> get gelato at the
> Rialto Bridge!!! Ciao ciao!
> 
> sims
> --
> 
> On Sunday, August 4, 2013, Jim sims wrote:
> 
>> I'm pretty sure now that it isn't the loading of images that is the
>> problem. I added code that verifies when all thumbnail images are loaded.
>> 
>> When i have only a few images the group scrolls well - up and down all i
>> want.
>> 
>> When i have many more images (say 20 instead of 7) then the group starts
>> to scroll and then freezes.
>> 
>> Tried lockloc of all controls but no happiness.
>> 
>> With a scrolling list fid i recall there is a limit to the number of lines
>> you can have and scroll with iOS - maybe around 200 lines. This problem i
>> now have feels like that one to me.
>> 
>> Do datagrids have a limit to the number of rows? If i recall i think he
>> loads only what is viewable and perhaps that gets around an issue like i
>> now have.
>> 
>> Sooooo i need a row consisting of: image  - text field - text field
>> 
>> Anyone got an example of something similar on a datagrid that i can
>> dissect?
>> 
>> 
>> Thanks for all the replies people.
>> 
>> sims
>> --
>> 
>> 
>> On Sunday, August 4, 2013, Scott Morrow wrote:
>> 
>>> Yes, 'load'   I'm glad you were able to take my vague suggestion and
>>> clarify it!  Clarified it for me, too  :- )
>>> 
>>> If you are using LC version 6 then John's suggestion of 'prepare image'
>>> sounds great.
>>> 
>>> --
>>> Scott
>>> 
>>> On Aug 4, 2013, at 4:27 AM, Jim sims <sims at ezpzapps.com> wrote:
>>> 
>>>> Thanks for the reply Scott,
>>>> 
>>>> You must be referring to "load" as in "load URL bla blah"
>>>> 
>>>> Didn't think that was ok on iOS but reading the dictionary it sounds
>>> "sort
>>>> of ok" - done without liburl in the background.
>>>> 
>>>> Will give it a shot and see.
>>>> 
>>>> Am in Venice, swapped my flat (flat for flat) for this excellent one
>>> that
>>>> has a most excellent location - del Bovolo staircase outside the bedroom
>>>> window. Hate to spend the day chasing this bug :-P but ya gotta do what
>>> ya
>>>> gotta do...i reckon.
>>>> 
>>>> sims
>>>> 
>>>> On Sunday, August 4, 2013, Scott Morrow wrote:
>>>> 
>>>>> Jim, have you tried caching the images to the device first and then
>>>>> pointing at the cached files? (I don't believe this has anything to do
>>> with
>>>>> dataGrid or not dataGrid.)
>>>>> 
>>>>> --
>>>>> Scott Morrow
>>>>> 
>>>>> _________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com <javascript:;>
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list