你看下,是不是要这样子:
Private Sub Form_Load()
Timer1.Interval = 1000
End Sub
Private Sub Timer1_Timer()
Label1.Caption = Val(Label1.Caption) - 1
If Label1.Caption = "0" Then
Timer1.Enabled = False '或 Timer1.Interval = 0
End If
End Sub
主要用计时器的Enabled和Interval两个属性.