04-04-2013 02:16 AM
how to create a progress bar which gets initiated once a button is pressed and fills up with every second elapsed? Mainly i want to create the same progress bar as it appears in windows or winrar kinda things where the expected time and elapsed time is shown.
Solved! Go to Solution.
04-04-2013 02:40 AM
04-04-2013 03:53 AM
thanks for the reply GerdW.
but what i mean is how will the progress will fill up by every second elapsed. i am thinkg to put the progress bar in 'for' loop but not getting how to set the timer which changes the progress bar and shows like running.
04-04-2013 03:58 AM
Hi Naina,
- I would use a while loop when you don't know how long the progress will run...
- I would use a wait function in the loop set to wait for 1000ms to get an update each second...
- you need to now from your process the progress and the elapsed time (as said before) and additionally the state (running or not running). That's all you need to know to calc the progress bar...
04-04-2013 04:02 AM
yeah i think that will do...
will post my progress bar to show my progress on this...:D
thank you!
04-04-2013 04:33 AM
hi
is that what u're looking for ? ( see attachement ) !
04-04-2013 04:35 AM
oops..i have'nt upgraded..:(
can i get that in 11 version?
04-04-2013 04:37 AM
here it is
04-04-2013 04:47 AM
yeah...its working great...
thanks a lot ABDESLAM and off course GREDW..:)
04-05-2013 05:01 AM
this was what actually i needed...
thanks a lot for the help...:)