Sign in to follow this  
Followers 0
jben

Progresson don't close for 3 seconds

5 posts in this topic

Hi, Is there a way I can make my progressbar stay open for 3 seconds once it reaches 100%

i'm using this at the end of my code. But it just closes

ProgressSet(100, "", "finished")

thanks

Share this post


Link to post
Share on other sites



Hi, Is there a way I can make my progressbar stay open for 3 seconds once it reaches 100%

i'm using this at the end of my code. But it just closes

ProgressSet(100, "", "finished")

thanks

ProgressSet() will not close the progress bar. Post your code, so we can see what's wrong or take a look at the help file sample for ProgressSet().

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

ProgressSet(100, "", "finished")

sleep(3000)

Share this post


Link to post
Share on other sites

Sorry i'm being silly. Worked it out

ProgressSet(100, "", "finished")
sleep(4000)

Just added sleep which kept the progressbar open for roughly 4 seconds. I presume that 4000= 4 seconds?

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

You beat me to it. Thanks anyways. We both posted "A minute ago " haha

So I guess that 3000 = 3 seconds

and if i wanted 30 seconds then that would = 30000

UPDATE

--------

Yep just tested. Thats ideal.

Edited by jben

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0