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?
>>
>> groeten,
>> William
>>
>>
> I wouldn't include code inside the repeat that only needs to happen once,
> like setting the backColor.
>
> ~Roger
>
>

Please ignore me.  I didn't notice that you are actually changing the color
of 100 fields.  Sorry.

~Roger
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to