Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Displaying progress in the task bar

Posted on 2003-11-16
3
Medium Priority
?
250 Views
Last Modified: 2010-04-05
I have an app that processes files and takes a long time to complete.  I would like the minimised application to display percentage of progress in the task bar like IE does when downloading a file off the net.

How do I do it?

Thanks

John
0
Comment
Question by:jdthedj
3 Comments
 
LVL 23

Accepted Solution

by:
Ferruccio Accalai earned 500 total points
ID: 9760393
Assuming that in your code you already retrieve the processed percentage just assign to application.title the string value of that:

for example:

Application.title := IntToSTr(Percentage)+' % files processed';
0
 
LVL 3

Author Comment

by:jdthedj
ID: 9760676
Thanks!  Don't know why I didn't think of that

John
0
 

Expert Comment

by:lamtl354
ID: 9760789
You could add a progress bar on your form

var
  i: Integer;
  pb: TProgressbar;

begin
pb.min := 0;
pb.max := 100;
pb.position := 0;
pb.step := 1;
for i:= 0 to 100 do begin
  pb.stepit;
end;

end;
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Screencast - Getting to Know the Pipeline

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question