Hi DaniWeb Forums,
The I'm making a simple timer. The label flashes every time the caption changes (this is the problem). See code below. If you run this, ensure to that timer interval property is 1000 for the timer and Label1 caption property is set to "". TY.
Dim sec As Integer Sub Timer1_Timer() Timer1.Interval = 1000 Timer1.Enabled = True sec = sec + 1 Label1.Caption = Str(sec) + "s" End Sub
Also, if I set the timer interval to 1, the label dosent print 1000 milliseconds in a second can anyone explain this?
Edited 4 Years Ago by mferarri