Occurs when a Timer is enabled, after the Interval time.
Syntax: Sub TimerName_Tick
Example: (Create a Form named Form1, a Timer named Timer1 and a Label named
lblTime)
Sub Globals
N = 10
End Sub
Sub App_Start
Form1.Show
Timer1.Interval = 1000 'milliseconds
Timer1.Enabled = True
End Sub
Sub Timer1_Tick
N = N-1
If N = 0 Then Timer1.Enabled = False
lblTime.Text = N
End Sub
This example will show a label which counts from 10 to 0.