Emailid
Password
         
  
    Forgot password

New user Sign Up
 

 

I can't draw lines!!!                            

Author Name Status Posted Time
Rebbecca Stein 12/6/2007 3:54:25 AM
Author is Offline

Hi all,

I am working a problem VB-2005 and I am a little confused. If I used the following, I can draw lines. But if I try to use what lesson calls for I cannot draw lines.
graphicsObject.DrawLine(New Pen(Color.Black), _
e.X, e.Y, DIAMETER, DIAMETER)

Versus

graphicsObject.DrawLine(New Pen(Color.Black), _
x1, y1, x2, y2)
is this because I used the following statement ealier in the program?

'
set diameter of MouseDown line
Private Const DIAMETER As Integer = 8

 

Subject Author Status Date

Re: I can't draw lines!!!

Dang Kettle 12/7/2007 3:14:32 AM

Re: I can't draw lines!!!

Evzon Ologio 12/7/2007 3:27:25 AM

Re: GraphicsObject.DrawLine(

Rebbecca Stein 12/7/2007 3:33:20 AM

Re: Post what you did in your code

Evzon Ologio 12/7/2007 3:34:52 AM

Re: Here is my Code!

Rebbecca Stein 12/7/2007 3:35:55 AM

Re: Make some changes

Evzon Ologio 12/7/2007 3:36:58 AM

Re: Thanks a lot!!!

Rebbecca Stein 12/7/2007 3:37:45 AM
No Related Articles





Home | About Us | Site Map | Privacy Policy