Advertisement

08.13.2008 at 03:11PM PDT, ID: 23646467
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

Threads...

Asked by calinutz in Delphi Programming

Tags: , ,

I need to show a procedure that draws some kind of a circular progress... while doing something else... like connecting to a FTP server and downloading a file from there.
So I have the procedure that shows the circular progress... but when I connect to the ftp... my display of circular progress is freezed.
I guess it's time to use a thread.
If I use a timer it works ok... but when I connect to the ftp , it stops showing the movement.
below I can show you the circular movement I want to display. It is basically something similar to the indeterminate progressbar used by SQL server 2005 while working on something.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
// cl1 and cl2 are 2 different colors I use to display the progress (example: cl1=clGreen and cl2=clBtnFace)
const
cl1=clGreen ;
cl2=clBtnFace;
 
var
    culoare:Int;
procedure TMain.Timer2Timer(Sender: TObject);
begin
i:=i+1;
If i>11 then
  begin
    If culoare=cl1 then culoare:=cl2 else
    culoare:=cl1;
    i:=0;
  end;
       PaintBox1.Canvas.Brush.Color:= culoare;//PaintBox1.Color;
       PaintBox1.Canvas.Pen.Color:= PaintBox1.Color;
       PaintBox1.Canvas.Pie(10,10,70,70, Round(40+60*sin(2*pi*i / 12)), Round(40+60*cos(2*pi*i / 12)),
             Round(40+60*sin(2*pi*(i+1) / 12)),Round(40+60*cos(2*pi*(i+1) / 12)));
       PaintBox1.Canvas.Brush.Color:= PaintBox1.Color;
       PaintBox1.Canvas.Pen.Color:= PaintBox1.Color;
  PaintBox1.Canvas.Pie(25,25,55,55,1,180,1,180);
end;
[+][-]08.13.2008 at 03:13PM PDT, ID: 22226094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 11:17PM PDT, ID: 22228069

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 11:24PM PDT, ID: 22228086

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 01:22AM PDT, ID: 22228487

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 03:38PM PDT, ID: 22234901

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Delphi Programming
Tags: Thread, delphi, progressbar
Sign Up Now!
Solution Provided By: TheRealLoki
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.15.2008 at 12:31AM PDT, ID: 22236507

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 11:02AM PDT, ID: 22240336

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 06:12AM PDT, ID: 22243987

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906