求助~倒记时怎么做~
不知道怎么做 想用FOR 循环 但这个和我之前学的C++有点出入。。。。
想实现 倒记时 功能 比如说我点Command1的时候 label1显示 50 每秒自动减1
请大鸟指导~~~ 谢谢~~~
不知道怎么做 想用FOR 循环 但这个和我之前学的C++有点出入。。。。
想实现 倒记时 功能 比如说我点Command1的时候 label1显示 50 每秒自动减1
请大鸟指导~~~ 谢谢~~~
2006-11-11 20:31

2006-11-11 21:45
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Form_Load()
Label1.Caption = 50
Timer1.Enabled = False
Timer1.Interval = 1000
End Sub
Private Sub Timer1_Timer()
Label1.Caption = Val(Label1.Caption) - 1
End Sub
2006-11-11 22:10
非常感谢~~~~~~~~~~~~~

2006-11-11 22:29

2006-11-12 00:21
2006-11-12 15:28

2006-11-12 16:45

2006-11-12 23:06
2006-11-14 18:38