Solved

Displaying progress in the task bar

Posted on 2003-11-16
3
240 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 22

Accepted Solution

by:
Ferruccio Accalai earned 125 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 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