bhanley9681
asked on
indeterminate progress bar
Hi,
I have an operation that's being preformed but I have no idea how long it will take, so I just want a progress bar that spins back and forth.
I could obviously just have it start at 0 again once it gets full and keep going like that, but I don't want that. The trends seems to be using a little block that goes across the bar and then starts at the beginning.
Does anyone know how to do this?
Thanks
I have an operation that's being preformed but I have no idea how long it will take, so I just want a progress bar that spins back and forth.
I could obviously just have it start at 0 again once it gets full and keep going like that, but I don't want that. The trends seems to be using a little block that goes across the bar and then starts at the beginning.
Does anyone know how to do this?
Thanks
windows or asp.net?
ASKER
sorry, windows
You might take a look at this code project article. I did something similiar to this one in my application recently.
http://www.codeproject.com/cs/miscctrl/C_NeverEndingPBar.asp
Good luck,
Aaron
http://www.codeproject.com/cs/miscctrl/C_NeverEndingPBar.asp
Good luck,
Aaron
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I like the animated GIF idea. The copy progress in Windows Explorer is an example of this.
Bob
Bob
Yeah, very interesting. I have to admit, the animated GIF is a great idea.
Its not as reusable because resizing the GIF to suit your needs would take a little more effort and I don't think you'd be able to easily resize the control dynamically at runtime either. It also wouldn't be nearly as easily to control the rate of the progress bar movement.
However as for simplicity if you don't mind these limitations I'd probably go that route. Nice and clean.
-Aaron
Its not as reusable because resizing the GIF to suit your needs would take a little more effort and I don't think you'd be able to easily resize the control dynamically at runtime either. It also wouldn't be nearly as easily to control the rate of the progress bar movement.
However as for simplicity if you don't mind these limitations I'd probably go that route. Nice and clean.
-Aaron