|
with isdone, you must know that archive takes 1000 steps for progressgauge, so if you add 1000s for each archive you will not have any problems with isdone,
with time
you must use a timer and a longint variable, each and every 1000 milliseconds. add 1 second to the variable. and update the elapsed time label.
to calculate the remaining time do take the elapsed time variable and multiply it by progressbar max and divide by progressbar position(position must not be zero) and then add the variable to the result of the calculations.and there you have it.
|