level 3
生命的流华
楼主
当达到设定的时间时,弹出msgbox提示,但在玩游戏时,弹出的提示框不能看到,求大神帮改代码。
谢谢![[乖]](/static/emoticons/u4e56.png)

Private Sub Command1_Click()
Timer1.Enabled = True
Text1.Text = Minute(Now): Text2.Text = Val(Text1.Text) + Val(Text3.Text)
End Sub
Private Sub Timer1_Timer()
Text1.Text = Val(Text1.Text) + 1
If Text1.Text = Text2.Text Then
MsgBox "刷课时,定时提醒", vbOKCancel, "提示"
Form1.Show
End If
End Sub
2016年08月22日 05点08分
1
谢谢

Private Sub Command1_Click()Timer1.Enabled = True
Text1.Text = Minute(Now): Text2.Text = Val(Text1.Text) + Val(Text3.Text)
End Sub
Private Sub Timer1_Timer()
Text1.Text = Val(Text1.Text) + 1
If Text1.Text = Text2.Text Then
MsgBox "刷课时,定时提醒", vbOKCancel, "提示"
Form1.Show
End If
End Sub