Solved

Displaying progress in the task bar

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now