Click to See Complete Forum and Search --> : Progress Bar


Starcraft
January 21st, 2000, 12:33 PM
I no how to make the progress bar actually move, but how do you make it move according to how much % of installation is complete?

Aaron Young
January 21st, 2000, 02:36 PM
You would set the Max Value to 100, then you would need to calcualte the Percentage of the Install that has been done. For example, if you know how many files there are to Install, then you can work out the Value of the Progress Bar using..

dPercentDone = (100 / iTotalFiles) * iFilesCopied


Aaron Young
Analyst Programmer
ajyoung@pressenter.com
aarony@redwingsoftware.com