Jump to content
Jud

VCL spinner

Recommended Posts

Is there a VCL component that does something like the Windows spinner?  I looked through the VCLs and didn't see one.  And which group is it under (System, additional, Win, etc)?

 

Added: Actually, I need something sort of like the ProgressGuage, where I update it periodically to show that a loop is still executing.  I need to update it every few seconds to show that it is still executing, rather than a percentage finished.

 

Edited by Jud
additional

Share this post


Link to post

TAdvCircularProgress does it . It turns until you stop it.

There are quite a few like it that work until you stop them.

Share this post


Link to post
1 minute ago, limelect said:

TAdvCircularProgress does it . It turns until you stop it.

AFAIK, a Windows Spinner control is an edit containing numbers with arrows to increase/decrease.

Share this post


Link to post
2 hours ago, Jud said:

ProgressGuage, where I update it periodically to show that a loop is still executing

@Uwe Raabe the above is what he needs

no numbers. There are times when you do not know your process's time(size), so there are times like the above. it is active until you stop it.

This program of mine does exactly his needs. turn until you stop

https://limelect.com/downloads/youtube_downloader_shell/

or

https://limelect.com/downloads/kml-reader/

Edited by limelect

Share this post


Link to post

Thanks, I'm going to look at those.  However, I don't need one that runs until I stop it.  I need one that verifies that the program is still running.  I need to update it periodically.  After I posted the message, I realized that a simple thing to do would be to have a label with just '*' and make it visible or not visible every X times through the outer loop.

 

I had a strange problem the other day.  I had an i7 running 14 threads of a big computation.  It was going to take 15-16 days.  It stopped running at 92% finished.  None of the CPUs were executing the calculations, but strangely, everything in the Windows user interface still worked.  It didn't bomb out or lock up. The calculation had been stopped for about 2 days when I realized it. I've never had that happen before.  And nine other i7s running the same program on different data haven't had the same problem.  This is to check to see if the program is still executing the calculations.

Share this post


Link to post
Just now, Jud said:

I need one that verifies that the program is still running

I do not know of a component to do that,

If a program is still running that means what?

showing? calculating? finished closed?

Share this post


Link to post
5 hours ago, Jud said:

Is there a VCL component that does something like the Windows spinner?

TProgressBar with Style=pbstMarquee. Update it by calling TProgressBar.StepIt.

Share this post


Link to post

@Anders Melander what he needs is not a progress

55 minutes ago, limelect said:

I need one that verifies that the program is still running

This is what he needs

Share this post


Link to post
Just now, limelect said:

what he needs is not a progress

It's not a progress bar; It's a marquee.

 

Just now, limelect said:

This is what he needs

Thanks but I think I'll take OP's words over your interpretation of "his needs".

Share this post


Link to post

An elapsed time clock is another option. If the time taken has some predictability users tend to like this option - over time they get a feel for how long some tasks take and if they can grab a quick coffee etc.

 

In the Delphi 7 days I used a component from the Developer Express Forum Library for this but they stopped maintaining it a long time ago.

Share this post


Link to post

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

×