Progress Bar Help
Len Morgan
len-morgan at crcom.net
Sun Mar 1 08:37:55 EST 2009
It seems I get stuck on the simplest things...
I have a progress bar and it's set to min=0, max=100 (I want to show
percentage completed)
I have a list of files I want to process so I take 100 / the number of
files to get a "per file percentage" (about 5.5555 for my current list
of 18 files)
I use "i" as a counter to go through the lines of the files and set my
thumbpos to:
i * perFilePercentage
This seems to work but the progress bar is already at 100% by the time I
get to the 7th file.
Is my math wrong? What am I missing?
Thanks again!
len morgan
More information about the use-livecode
mailing list