Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

[RESOLVED] Is there a way to thicken or reduce the thickness of drawing on a blank picturebox?

$
0
0
Hi there everyone! I am working on a tool that lets me write on a picturebox, and combines it with teaching tools. I have it set up now to write on the picturebox like this..

Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
Picture1.PSet (X, Y)

End If
End Sub

Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
Picture1.Line -(X, Y)



End If
End Sub

Now this works great. I can write on the board, but it would come in handy if I could thicken, or reduce the thickness of the 'ink" of the mouse cursor. Is there a way to at least thicken it, sort of like the boarder thickness option on shapes?

THANKS!

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>