progress bar that decreaes one increment at a time.

Started by naholt, July 11, 2015, 07:08:10 AM

Previous topic - Next topic

how do you make a progress ciount down instead of up

dont know
0 (0%)
dont kn9ow
0 (0%)

Total Members Voted: 0

naholt

I am looking for a way to make a progress bar count down instead of counting up.  I got the following script off of the help and was wondering if its possible to make it count down.

AddExtender("wwsop34i.DLL")
astatusbar(0,"This is the title","This is the initial text",60,30)
for xx = 1 to 60
;This timedelay would be replaced by your code
timedelay(1)   
astatusbar(1,xx,"Processing file number %xx% of 79",79,xx)
next

Message("All","Done")

Thanks Nicholas

JTaylor

You mean something like:

Code (winbatch) Select


AddExtender("wwsop34i.DLL")
astatusbar(0,"This is the title","This is the initial text",60,30)
For xx = 60 to 1 by -1
  ;This timedelay would be replaced by your code
  TimeDelay(.2)   
  aStatusbar(1,xx,"Processing file number %xx% of 79",79,xx)
Next

Message("All","Done")

naholt