Progress Bar

Roger Eller roger.e.eller at sealedair.com
Thu Mar 29 18:13:08 EDT 2012


On Thu, Mar 29, 2012 at 6:03 PM, Pete wrote:

> I'm using a progress bar for the first time.  Checked it all out stepping
> through things in debug and all worked fine.  However, when I run it
> normally (meaning no debug), the blue progress bar never moves beyond it's
> startpos.
>
> I'm pretty sure this is because I'm updating it in a tight loop and LC
> doesn't get a chance to update the screen but I'm uncertain how to solve
> that without adding to the overall execution time of the loop.
>
> Enlightenment much appreciated.
>
> --
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
>

Add a super-tiny wait to the end of the loop (25 to 100 millisecs,
depending on what you're doing).

~Roger



More information about the use-livecode mailing list