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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to