Question

Help with Canvas.Arc

Asked by: EddieShipman

Not sure what values to use when trying to recreate the arc in the frame in the image below.
Points are 5,2; 5,30; 74,2; 74,30

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-02 at 07:55:31ID24456778
Topic

Graphics and Delphi Programming

Participating Experts
1
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. How to fill an arc?
    I've got a problem which can sound stupid to someone. I have drawn an arc by calling TCanvas.Arc method, which looks like half-of-ellipse. It is vertically oriented. Now I need to fill a portion of inner space ocupated by arc with some color. If the arc would be bounded by so...
  2. how to recreate an frame?
    Dear Experts, How to destroy an instance of the frame completely and reopen it when an button is clicked. Is there any method to destroy the frame completely and recreate it?
  3. Arc algorithm
    Hello, this is my first time here. I have been assigned a small project to develop some basic graphic primitives (mode 13h, in pascal) The teacher told us to use the algorithm we made for the ellipse to draw the circle too , and i now need some info on how to develop the arc ...
  4. Draw ARC three points
    I need your help asap, it's very-very important for me. I need to draw an arc . The arc has three control points: two end points and the middle point of the arc. I can't use CDC::ARC and AngleArc ,i have to draw arc using MoveTo ,LineTo :( May be somebody has a code to draw ...
  5. Frame Creation & Recreation
    My application is a fairly typical menu-driven web application. I am using framesets and frames, with a horizontal title page, and the menu in a left column frame. The largest frame is my "work frame" and is where most option work occurs. My question focuses on t...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: EddieShipmanPosted on 2009-06-02 at 07:57:02ID: 24527591

Here's the same image exploded 300%

 

by: developmentguruPosted on 2009-06-02 at 13:32:06ID: 24531224

 You will not be able to do that with a simple statement like Arc.  I am considering 4 arc statements and a couple of moveto lineto combinations for the top and bottom lines.  Many time there will be a bitmap or icon that is used to get the left side and right side the way you want (perhaps 4 corners) with connecting lines being handled to allow resizing.

  If you will provide a bitmap image then  I will know that I am not seeing compression loss and be able to accurately reproduce what you have.  I would also like to know if you need this to be able to resize.

Let me know

 

by: EddieShipmanPosted on 2009-06-02 at 13:44:49ID: 24531376

This is for a button style component so it needs to be resizable meaning I need to be able to pass it coords for drawing. If at all possible, I really just need the arc code, I can handle the rest.

Below is a resize that has no degradation.

 

by: EddieShipmanPosted on 2009-06-02 at 13:45:38ID: 24531382

The coords on the image are just examples that basically define the way the arc should be drawn.

 

by: developmentguruPosted on 2009-06-02 at 15:49:43ID: 24532187

You have another PNG... is there no way to get a bitmap on here?  I am seeing all the fuzziness around the edges and doubting it is actually that way.  It looks like the PNG compression is effectively doing an antialias operation.  If that is exactly how you want the pixels to look, I can accomodate... I just need to know.  The bitmap is the best way for me to see precisely what you want.  It should be all down hill from there.

 

by: EddieShipmanPosted on 2009-06-03 at 05:09:01ID: 24535459

A resized Bitmap was just as bad than PNG.

 

by: developmentguruPosted on 2009-06-03 at 07:41:59ID: 24537079

 I have a start on it.  I created a form with a paint box on it as this is very useful for initial testing.  I made the paint box your original size (78 x 32).  I started by filling in the background color (the one outside your area).  I then did the top and bottom bar.  Then I did the left and right side bar (they smoothly transition from the top to the bottom as in your example.  the only piece left is to set the individual pixels to the values that you have in the arc'ed areas (the 4 corners).  I also added a FillRect command to to an internal rect with the internal background color (this would change to a flood fill in the final version, after the corners have been drawn).  You may want to experiment using two arc commands on each corner (one within the other to produce a drop shadow like effect) instead of doing the pixel by pixel setting.  It would not look quite as good, but you have an idea of your options there now.  If you want I will provide more code to show corners.  I also made the paint box anchored right and bottom so it will expand if I expand the form.  That makes it easy to test what it will look like at different sizes.

  By the way I am using GIMP to help with color comparisons.  I am able to load your bitmap and have it identify individual colors for me.  Within the color tool in GIMP there is a web color ID which is hex.  This number need to be put into the Delphi code backwards (010203 would become 030201 to get the same color).    With an [Alt][Print Screen] I can move a screen shot  into GIMP, magnify, and compare.

  Let me know if you think this is enough to get you started.  The ColorTransition function is not optimized, just quick and dirty.  There are redundant calls to functions in there that could be assigned to local variables, etc.  I just wanted it to be as straight forward as I could.

unit frmMain;
 
interface
 
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls;
 
type
  TForm1 = class(TForm)
    PaintBox1: TPaintBox;
    procedure PaintBox1Paint(Sender: TObject);
  private
    { Private declarations }
    function ColorTransition(Step, Total : integer; First,
      Last : TColor) : TColor;
  public
    { Public declarations }
  end;
 
var
  Form1: TForm1;
 
const
  InsideBackground : TColor = $b6bdc0; //c0bdb6
  OutsideBackground : TColor = $c8d0d4; //d4d0c8
  TopVertical : TColor = $b2babd; //bdbab2
  BottomVertical : TColor = $d6dbde; //dedbd6
  TopBar : TColor = $909598; //989590
  BottomBar : TColor = clWhite;
 
implementation
 
{$R *.dfm}
 
function TForm1.ColorTransition(Step, Total: integer; First,
  Last: TColor): TColor;
var
  Transition : single;
  RD, GD, BD : integer;
  RT, GT, BT : integer;
 
begin
  Transition := Step / Total;
  RD := GetRValue(Last) - GetRValue(First);
  GD := GetGValue(Last) - GetGValue(First);
  BD := GetBValue(Last) - GetBValue(First);
 
  RT := Trunc(RD * Transition);
  GT := Trunc(GD * Transition);
  BT := Trunc(BD * Transition);
 
  Result := RGB(GetRValue(First) + RT, GetGValue(First) + GT,
    GetBValue(First) + BT);
end;
 
procedure TForm1.PaintBox1Paint(Sender: TObject);
var
  TopBarY, BottomBarY : integer;
  HBarLeft, HBarRight : integer;
  VerticalBarTop, VerticalBarBottom : integer;
  VerticalBarLeft, VerticalBarRight : integer;
  I : integer;
 
begin
  with PaintBox1, Canvas do
    begin
      //get the math out of the way
      TopBarY := 2;
      BottomBarY := Height - 2;
      HBarLeft := 5;
      HBarRight := Width - 5;
      VerticalBarTop := 11;
      VerticalBarBottom := Height - 11;
      VerticalBarLeft := 0;
      VerticalBarRight := Width - 1;
 
      //background color
      Brush.Color := OutsideBackground;
      FillRect(Rect(0, 0, Width, Height));
 
      //top Bar
      Pen.Color := TopBar;
      MoveTo(HBarLeft, TopBarY);
      LineTo(HBarRight, TopBarY);
 
      //bottom bar
      Pen.Color := BottomBar;
      MoveTo(HBarLeft, BottomBarY);
      LineTo(HBarRight, BottomBarY);
 
      //left vertical
      for I := VerticalBarTop to VerticalBarBottom do
        Pixels[VerticalBarLeft, I] := ColorTransition(I - VerticalBarTop,
          VerticalBarBottom - VerticalBarTop + 1, TopVertical, BottomVertical);
 
      //right vertical
      for I := VerticalBarTop to VerticalBarBottom do
        Pixels[VerticalBarRight, I] := Pixels[VerticalBarLeft, I];
 
      //fill the interior
      Brush.Color := InsideBackground;
      FillRect(Rect(8, 8, Width - 8, Height - 8));
    end;
end;
 
end.
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:

Select allOpen in new window

 

by: EddieShipmanPosted on 2009-06-03 at 09:09:22ID: 24538098

It doesn't have to be pixel for pixel color-wise. I also didn't see any arc in this at all, even when I resized it.
The problem is that I don't know the coords I need to pass to the arc function to make the arc on the left and right sides of the image. I don't care what color they are or that they are anti-aliased.

I am really trying to create a buttno control like the Next/Prev buttons in FireFox3 at the top left.

 

by: developmentguruPosted on 2009-06-03 at 13:05:25ID: 24540665

Ok, the example I gave you did not do the arcs.  I wanted to emphasize what was needed overall (including the fade that was done on the sides) while clarifying if you wanted to see an exact reproduction.  The one remaining question is this: Do you want to have a good shadow effect like the one you showed me or do you want me to just add simple arc statements that will complete what I gave you (in a flat manner)?  Perhaps you will want me to show the arc statements, then make the choice?

Currently the Arc areas are a set size so you can use the precise pixels to reproduce what you showed me.  You would need to have a minimum size if you wanted a pixel by pixel (drawn) effect like you currently see.  If you want to use the Arc statement and allow the area used for the arc to change size, that will greatly change what is needed.

At the same time, if you do not need the fade on the sides then it could be removed and done in a flat manner.

Let me know.

 

by: EddieShipmanPosted on 2009-06-03 at 13:58:41ID: 24541293

It will be done in a manner to show a 3D effect, I just need the coords for drawing the 4 arcs. I know that they run in counter-clockwise path and need to do them correctly, however, I cannot compute the bounding rect or the ellipse that is needed to get the coords for the Arc calls.

 

by: EddieShipmanPosted on 2009-06-03 at 13:59:07ID: 24541296

Geometry and Calculus were not my strong points in school...

 

by: EddieShipmanPosted on 2009-06-04 at 07:37:29ID: 24547425

OK, I think I may have some of it now.

The bounding rectangle for the ellipse is 77X77 from 0,-25 to 77, 52, the center of the circle is at 39,14
The angle to the first point at top, left is 291.3° the angle to the second point at bottom, left is 248.2°
The angle to the third point at top, right is 68.7° and the angle to the fourth point at bottom, right is 111.3°

I still don't know what the values need to be for the arc. The first two sets of coords are easy, they define the bounding rect of the ellipse which would be 0,-25 and 77,52, however, these are what are confusing me:
"The starting point is defined by the intersection of the ellipse and a line defined by the center of the ellipse and (X3,Y3). The ending point is defined by the intersection of the ellipse and a line defined by the center of the ellipse and (X4, Y4)"

What would X3,Y3 and X4,Y4 be for this ellipse and the points 5,2 and 5,30? It doesn't look correct when I use
5,2 and 5,30.

 

by: EddieShipmanPosted on 2009-06-04 at 08:11:56ID: 24547823

Here is how I came about those values:

 

by: developmentguruPosted on 2009-06-04 at 15:41:13ID: 24552066

You will need to view it as 4 separate ellipses.  Each ellipse will have a bounding rectangle the width and height of the ellipse you want to create.  So, the bounding rectangle of the upper left corner would be based on two points, the left of the top bar and the top of the left bar.  The bounding rectangle would be from 0, 0 to twice the x of the top point and twice the y of the left point.  Then all you need to do is use the last 4 coordinates of the arc command to cut off the portion you do not want.

Part of the reason to do it this way is to make it scale easier if you want the corners to be bitmapped.  If you do not care about left and right side bars then you can do two ellipses one on the left and one on the right.  The bounding rectangles for these would be the full height of the area and the width would be twice the distance from the edge to the top of the ellipse.

I mention both views to give you the options.  Personally I would take the first option since it give you greater flexibility in making the drop shadow look right.  I strongly suspect the you will not be plesed with the drop shado look using the second aproach.  Using the first approach with the 4 separate ellipses (one arc statement for each plain and two each for drop shadow effects) will allow you to change the inner and outer colors per corner.

 

by: developmentguruPosted on 2009-06-08 at 07:51:07ID: 24572681

Sorry I will not have time to look into this for the next couple of days, but I should be able to put up an example then.

 

by: EddieShipmanPosted on 2009-06-08 at 08:30:26ID: 24573136

I got some code from Peter Below but it does not draw correctly and if I revise
it to use coords of a particular rectangle, it just doesn't work correctly.

  CV.Pen.Color := clRed;
  CV.Arc(0, -25, 77, 52, 0, 14, 5,30);
  CV.Pen.Color := clLime;
  CV.Arc(0, -25, 77, 52, 5, 2, 0,14);
  CV.Pen.Color := clAqua;
  CV.Arc(0, -25, 77, 52, 77, 14, 74,2);
  CV.Pen.Color := clBlack;
  CV.Arc(0, -25, 77, 52, 74, 30, 77,14);
                                              
1:
2:
3:
4:
5:
6:
7:
8:

Select allOpen in new window

 

by: EddieShipmanPosted on 2009-06-08 at 08:31:05ID: 24573149

I will say that he answered my questions of what do the x3,y3,x4,y4 mean in relation to x1,y1,x2,y2.

 

by: developmentguruPosted on 2009-06-09 at 07:25:32ID: 24581476

I made some changes to my code.  Some are to make it more readable and some make it more understandable.  Playing with all of these coordinates can get confusing.  You should be able to bring up a form with a paint box, set the on paint event, and paste my code over yours.  I made the ARCs white so they will stand out.  There is also a commented explanation of how the ARC command works.  In order to try to do drop shadow effects you will need to move the arc (all coordinates) in one horizontally as a first try.  If you try to move both horizontal and vertical you will have gaps.  You could also do it vertically, just not both.  I still think you will find that a bitmapped approach is the best way, and it will work well with what I have here.

Let me know if you have any questions.

unit frmMain;
 
interface
 
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls;
 
type
  TForm1 = class(TForm)
    PaintBox1: TPaintBox;
    procedure PaintBox1Paint(Sender: TObject);
  private
    { Private declarations }
    function ColorTransition(Step, Total : integer; First,
      Last : TColor) : TColor;
  public
    { Public declarations }
  end;
 
var
  Form1: TForm1;
 
const
  InsideBackground : TColor = $b6bdc0; //c0bdb6
  OutsideBackground : TColor = $c8d0d4; //d4d0c8
  TopVertical : TColor = $b2babd; //bdbab2
  BottomVertical : TColor = $d6dbde; //dedbd6
  TopBar : TColor = $909598; //989590
  BottomBar : TColor = clWhite;
 
implementation
 
{$R *.dfm}
 
function TForm1.ColorTransition(Step, Total: integer; First,
  Last: TColor): TColor;
var
  Transition : single;
  RD, GD, BD : integer;
  RT, GT, BT : integer;
 
begin
  Transition := Step / Total;
  RD := GetRValue(Last) - GetRValue(First);
  GD := GetGValue(Last) - GetGValue(First);
  BD := GetBValue(Last) - GetBValue(First);
 
  RT := Trunc(RD * Transition);
  GT := Trunc(GD * Transition);
  BT := Trunc(BD * Transition);
 
  Result := RGB(GetRValue(First) + RT, GetGValue(First) + GT,
    GetBValue(First) + BT);
end;
 
procedure TForm1.PaintBox1Paint(Sender: TObject);
var
  HBuffer, VBuffer : integer; //space outside of our construct
  TopBarY, BottomBarY : integer;
  ArcHeight, ArcWidth : integer;
  HBarLeft, HBarRight : integer;
  VerticalBarTop, VerticalBarBottom : integer;
  VerticalBarLeft, VerticalBarRight : integer;
  I : integer;
 
begin
  with PaintBox1, Canvas do
    begin
      //get the math out of the way
      HBuffer := 0;
      VBuffer := 2;
 
      ArcHeight := 9;
      ArcWidth := 5;
 
      TopBarY := VBuffer;
      BottomBarY := Height - VBuffer;
      HBarLeft := HBuffer + ArcWidth;
      HBarRight := Width - HBuffer - ArcWidth;
 
      VerticalBarTop := VBuffer + ArcHeight;
      VerticalBarBottom := Height - (VBuffer + ArcHeight);
      VerticalBarLeft := HBuffer;
      VerticalBarRight := Width - 1 - HBuffer;
 
      //background color
      Brush.Color := OutsideBackground;
      FillRect(Rect(0, 0, Width, Height));
 
      //top Bar
      Pen.Color := TopBar;
      MoveTo(HBarLeft, TopBarY);
      LineTo(HBarRight, TopBarY);
 
      //bottom bar
      Pen.Color := BottomBar;
      MoveTo(HBarLeft, BottomBarY);
      LineTo(HBarRight, BottomBarY);
 
      //left vertical
      for I := VerticalBarTop to VerticalBarBottom do
        Pixels[VerticalBarLeft, I] := ColorTransition(I - VerticalBarTop,
          VerticalBarBottom - VerticalBarTop + 1, TopVertical, BottomVertical);
 
      //right vertical
      for I := VerticalBarTop to VerticalBarBottom do
        Pixels[VerticalBarRight, I] := Pixels[VerticalBarLeft, I];
 
      //fill the interior
      Brush.Color := InsideBackground;
      FillRect(Rect(8, 8, Width - 8, Height - 8));
 
      //draw the arcs
      //three lines on arc command as I have it layed out
      // 1) bounding box of ellipse
      // 2) end point of line from center of ellipse for first intersecting line
      // 3) end point of line from center of ellipse for second intersecting line
      // the arc command draws the ellipse from the point where the first line
      // intersects the ellipse to the point where the second line intersects the
      // ellipse... counterclockwise... so order is important.
 
      //draw the upper left corner
      Pen.Color := clWhite;
      Arc(VerticalBarLeft, TopBarY, HBarLeft * 2, VerticalBarTop * 2,
          HBarLeft, TopBarY,
          VerticalBarLeft, VerticalBarTop);
 
      //draw the upper right corner
      Arc(VerticalBarRight - (2 * HBarLeft), TopBarY, VerticalBarRight, VerticalBarTop * 2,
        VerticalBarRight, VerticalBarTop,
        HBarRight, TopBarY);
 
      //draw the lower left corner
      Arc(VerticalBarLeft, BottomBarY - (ArcHeight * 2), HBarLeft + ArcWidth, BottomBarY,
          VerticalBarLeft, VerticalBarBottom,
          HBarLeft + 1, BottomBarY);
 
      //draw the lower right corner
      Arc(VerticalBarRight - (2 * ArcWidth), VerticalBarBottom - ArcHeight, VerticalBarRight, BottomBarY,
        HBarRight - 1, BottomBarY,
        VerticalBarRight, VerticalBarBottom);
    end;
end;
 
end.

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:

Select allOpen in new window

 

by: EddieShipmanPosted on 2009-06-09 at 08:21:19ID: 31587850

While I went a different route, I think you deserve the points, anyway.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...