hello
i have a code which draws a line in the picture box when i click the command button, clear the picturebox when i click on the second command button.....
the code is below
Private Sub Command1_Click()
X1 = 100
X2 = 2000
Y1 = 100
Y2 = 100
Picture1.Line (X1, Y1)-(X2, Y2)
Private Sub Command2_Click()
Picture1.Cls
End Sub
now i am stuck i need two more codes along with command buttons to change the thickness of the line in picture box and change the background color of the line in picturebox when i click on the other 2 command buttons...
plz can anyone help me in this code
it will be of great help since i m not been able to get the logic.....
plz
i have a code which draws a line in the picture box when i click the command button, clear the picturebox when i click on the second command button.....
the code is below
Private Sub Command1_Click()
X1 = 100
X2 = 2000
Y1 = 100
Y2 = 100
Picture1.Line (X1, Y1)-(X2, Y2)
Private Sub Command2_Click()
Picture1.Cls
End Sub
now i am stuck i need two more codes along with command buttons to change the thickness of the line in picture box and change the background color of the line in picturebox when i click on the other 2 command buttons...
plz can anyone help me in this code
it will be of great help since i m not been able to get the logic.....
plz