Afficher temps du temier dans textbox

automaticien54 Messages postés 2 Date d'inscription vendredi 22 octobre 2004 Statut Membre Dernière intervention 14 juin 2005 - 17 janv. 2005 à 21:34
Gobillot Messages postés 3140 Date d'inscription vendredi 14 mai 2004 Statut Membre Dernière intervention 11 mars 2019 - 17 janv. 2005 à 21:52
bonjour a tous, j'avais une question sur les timers, je voulais savoir comment afficher le temps d'un timer dans un textbox. merci de vos repnses.
au revoir

1 réponse

Gobillot Messages postés 3140 Date d'inscription vendredi 14 mai 2004 Statut Membre Dernière intervention 11 mars 2019 34
17 janv. 2005 à 21:52
tout simplement:

Text1 = Timer

ou

Private Sub Timer1_Timer()
Static tps As Long
tps = tps + 1
Text1 = (tps * Timer1.Interval) / 1000
End Sub

Daniel
0
Rejoignez-nous