Repeat with slow on iOS?
William de Smet
williamdesmet at gmail.com
Fri Aug 12 17:33:42 EDT 2011
Thanks for the answers.
It seems that 'lock screen/unlock screen' does the trick!
2011/8/12 Roger Eller <roger.e.eller at sealedair.com>:
> On Fri, Aug 12, 2011 at 4:46 PM, Roger Eller wrote:
>> On Fri, Aug 12, 2011 at 3:38 PM, William de Smet wrote:
>>> Hi there,
>>> Is 'repeat with' slow on iOS?
>>> I notice a 1 or 2 second delay time on my iPad after clicking the button.
>>> On the desktop however everything is really fast.
>>> I just do this in a button:
>>> repeat with x=1 to 100
>>> put "a"&x into tVeld
>>> enable fld tVeld
>>> put empty into fld tVeld
>>> set the backgroundcolor of fld tVeld to white
>>> end repeat
>>> Is there maybe another (faster) way to do this on iOS?
>> I wouldn't include code inside the repeat that only needs to happen once,
>> like setting the backColor.
> Please ignore me. I didn't notice that you are actually changing the color
> of 100 fields. Sorry.
> 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