VERSION 5.00
Begin VB.Form frmBallDrop 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   213
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   312
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer Down 
      Interval        =   1
      Left            =   480
      Top             =   0
   End
   Begin VB.Timer Up 
      Enabled         =   0   'False
      Interval        =   1
      Left            =   0
      Top             =   0
   End
   Begin VB.PictureBox Ball 
      BorderStyle     =   0  'None
      Height          =   750
      Left            =   1800
      Picture         =   "frmBallDrop.frx":0000
      ScaleHeight     =   50
      ScaleMode       =   3  'Pixel
      ScaleWidth      =   50
      TabIndex        =   0
      Top             =   720
      Width           =   750
   End
End
Attribute VB_Name = "frmBallDrop"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public UpCounter As Byte
Private Sub Form_Load()
UpCounter = 100
End Sub
Private Sub Down_Timer()
If Ball.Top < 160 Then
Ball.Top = Ball.Top + 2
ElseIf Ball.Top = 160 Then
UpCounter = UpCounter - 5
Up.Enabled = True
Down.Enabled = False
End If
End Sub
Private Sub Up_Timer()
If Ball.Top > UpCounter Then
Ball.Top = Ball.Top - 2
ElseIf Ball.Top = UpCounter Then
Down.Enabled = True
Up.Enabled = False
End If
End Sub
