Hi guys, I am trying to create a fake progress bar. I have an original form and then a button to bring up a new form on top. Now for the form that pops up second, i want it to have a fake progress bar. In other words like a bar that just shows the loping line, or a loading one that stalls out about halfway. However I don't want anything actually happening. Any suggestions?
You could just use a loop (0 to 100 perhaps) and use the system.wait() function to wait 100 ms (or whatever) during each loop. Increment the progress bar by 1 each time and then when finished you can load your 2nd form.
Awesome... only thing now is where does this code go?
nvm i got it... thanks bro
No problem.![]()
For C# it is Thread.Sleep() method actually. Just a note for posterity.![]()
proudly presenting my personal website and game website: F1Simulation. a thrilling Managed DirectX racing game... also my Ask Me
look at my tutorials about cropping images and Mono: bundling Mono with programs and lambda expressions
Good catch Arek. Not sure where I got system.sleep. Perhaps an old MFC function or a java method.
yea i figured that one out, thanks you two
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks