Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting events
Message
From
01/08/2001 07:24:04
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Counting events
Miscellaneous
Thread ID:
00538212
Message ID:
00538212
Views:
42
Hi
I want to be able to count the timerevent from the timer control outside the Timer1_Timer() procedure.
If there is any good tutorials on this I would be grateful.

When my program executes, I want my program to pause in five seconds. It could look something like this:

Private Sub Command1_Click()
CountEvent
End Sub

Private Sub CountEvent()

'While TimeCounter < 6

If Timer1.Enabled = False Then
Timer1.Enabled = True
End If
' When TImer1 event fires, add one to TimeCounter
'Wend
End Sub

Private Sub Timer1_Timer()

End Sub
Next
Reply
Map
View

Click here to load this message in the networking platform