|
-
Mar 8th, 2000, 07:40 AM
#1
Thread Starter
Addicted Member
how can i draw small little circle like how spaces is ?? randomly ?
-
Mar 8th, 2000, 08:56 AM
#2
-
Mar 8th, 2000, 09:13 AM
#3
Thread Starter
Addicted Member
i want to draw little circle all over the form randomly and have them stay there and that like if you where in space ...
-
Mar 8th, 2000, 10:20 AM
#4
Hyperactive Member
'Here ya go evil
Private Sub Form_Load()
Dim numLittleCircles As Integer
Dim small As Integer
Width = 12000
numLittleCircles = ScaleWidth
BackColor = vbBlack
WindowState = vbMaximized
AutoRedraw = True
Randomize
For i = 1 To numLittleCircles
ForeColor = QBColor(Rnd * 15) 'new random each i
x = (Rnd * numLittleCircles) 'x coordinate
y = (Rnd * numLittleCircles) 'y coordinate
small = Rnd * 100 'this is the radius
Circle (x, y), small
Next
End Sub
'Hope this helps
'Joey O
-
Mar 8th, 2000, 10:58 PM
#5
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|