Advertisement
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.
Your Input Matters 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! |
||
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;
|