Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting events
Message
De
01/08/2001 07:24:04
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Counting events
Divers
Thread ID:
00538212
Message ID:
00538212
Vues:
41
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform