by Dipin George (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 8th January 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This is simple freeform drawing in a form
API Declarations
Dim PosY As Integer
CurrentX = X
CurrentY = Y
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
Line -(X, Y), vbRed
End If
End Sub