Solved

Displaying progress in the task bar

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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