VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Draw a simple circle using VB

by Rajesh Yadav (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 13th May 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Draw a simple circle using VB

API Declarations



Private Sub Form_Click()
Line (a, b)-(c, d)
End Sub

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
a = X
b = Y
End Sub

Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
c = X
d = Y
End Sub


Rate Draw a simple circle using VB



Private Sub Form_Click()
Circle (a, b), 1000
End Sub

Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
a = X
b = Y
End Sub


Download this snippet    Add to My Saved Code

Draw a simple circle using VB Comments

No comments have been posted about Draw a simple circle using VB. Why not be the first to post a comment about Draw a simple circle using VB.

Post your comment

Subject:
Message:
0/1000 characters