home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form recurse
- Caption = "Recursion by Mistake"
- ClientHeight = 3150
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5910
- LinkTopic = "Form1"
- ScaleHeight = 3150
- ScaleWidth = 5910
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command1
- Caption = "New Color"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 3960
- TabIndex = 0
- Top = 2400
- Width = 1695
- End
- Begin VB.PictureBox Picture1
- Height = 2895
- Left = 120
- ScaleHeight = 2835
- ScaleWidth = 5595
- TabIndex = 1
- Top = 120
- Width = 5655
- End
- Attribute VB_Name = "recurse"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- RGBColor = Rnd * 16000000
- For i = 0 To Picture1.Width
- Picture1.Line (i, 0)-(i, Picture1.Height), RGBColor
- DoEvents
- End Sub
-