Progress Bar

I need some Progress Bar Components, which i can use when i don't know how long the action take. Like the bar at windows start (The blue scrolling bar)
snoopy_SpyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aubsCommented:
What version of Delphi are you using. Delphi V3 onwards already has a progressbar and I think that D2 has but cant remember.

Aubs
0
aubsCommented:
Forgot to say look in the Win32 components.

Aubs
0
snoopy_SpyAuthor Commented:
I use delphi 5, and i know the standard TProgressBar Component ! But i need one, like the blue progress bar from windows 95/98/2000 which is showed at the startup.
0
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Alisher_NCommented:
progress bar indicates the progress completion
what are you going to indicate if you don't know time of completion ?

just make some nice 'sand-glass' animated picture and update it during your process, it is much better than weird blinking squares ;-)

0
mike_tippingCommented:
The best bet is the standard animate component that will run an AVI over and over, either produce an AVI of the animation you want (scrolling progress bar) or create a animated Giff and convert it to an AVI, there are some converters packaged with an animated Giff component from Delph Super Page.
0
ptmcompCommented:
You coul'd even show an AVI in a second thread, but if you choose a too high resolution, I guess, it's needing more of the CPU time than the other action. :o)
0
rskathaitCommented:
I agree with Alisher N. Progress is % completion.

Anyway you can have workaround. Set the limit for progres bar high enough. Initially make width of control equal to 0 and at run time increase the width as well as progress simultaneously.

Best way is you use some customize control which can draw a mark at completion of a definite task in your application.
0
snoopy_SpyAuthor Commented:
Because no usefull answer was given, I have written my own procedure for painting the bar (Win 98 like).

0
MaratXCommented:
You just can use gif-animation to take this effect.
0
ArtmicCommented:
Put a progress bar on the form, align to bottom,
then declare some temps like i,k, what ever and inc the variables coresponding to the progress bar, when you reach 100 percent null the temp ,and start over...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.