Draw Circles of Different Size and Color With a Mouse Click
Category:
Screen/GraphicsType:
SnippetsDifficulty:
BeginningAuthor:
Patrick LockefeerVersion Compatibility: Visual Basic 6
More information:
With this sub procedure, you can draw circles of random sizes and colors with a simple mouse down event. For best visual results, change the Form backcolor to black and set the Form property Windowstate to "2 - Maximized". Change the size of the random value in the code to change the size of the circles.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: