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 _______________________________________________ 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