Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing Lines

Status
Not open for further replies.

Cndn

Programmer
Nov 22, 2001
22
0
0
CA
Does anyone know if there is a way to change the color, width, etc. of the lines you draw when you use the Line code?

You know: Line -(X, Y)

thanks.

PS, A red or white line would be preferable
 
the line method has an optional color argument
if omitted, the value of the .ForeColor property is used

ex.
Code:
  Line (0, 0)-(1000, 1000), vbRed
  Line (3000, 3000)-(2000, 2000), vbWhite
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top