Private Sub Command1_Click()
Frame1.Caption = Text1.Text
Frame2.Caption = Text2.Text
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click(Index As Integer)
Text3.Text = Val(Text3.Text) + 1
End Sub
Private Sub Command4_Click(Index As Integer)
Text4.Text = Val(Text4.Text) + 1
End Sub
Public Sub Label1_Change()
If Text3.Text > Text4.Text Then
Label1.Caption = "Player1 is leading!"
ElseIf Text4.Text > Text3.Text Then
Label1.Caption = "Player2 is leading!"
ElseIf Text3.Text = Text4.Text Then
Label1.Caption = "Tough game!"
End If
End Sub
whats wrong with this scoreboard?