Solved

Displaying progress in the task bar

Posted on 2003-11-16
3
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

623 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