Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / [BlueGUI] Progress bars

Author
Message
Oolite
19
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 29th Aug 2006 20:59
Hi,
I want my progress bar to go up as i load loads of images into my program, how do i get it to go up as i load each image?

Any ideas?

Cheers
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 30th Aug 2006 00:55
You could do this a few different ways, the first one that comes into mind is having a variable which holds the number of items that you are going to load (images in this case) and then have your setProgressBarRange set to this variable.

For example:


I didn't test the code out in the compiler, I just kind of threw it together for you in this forum post. There may be a typo or a bug or two But the underlying concept is there. Give it a go

"We are what we repeatedly do. Excellence, therefore, is not an act, but a habit." - Aristotle
Oolite
19
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 30th Aug 2006 13:06
ah ok, i see.

Cheers

Login to post a reply

Server time is: 2024-11-22 12:44:45
Your offset time is: 2024-11-22 12:44:45