Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer within a timer?
Message
De
06/11/2001 18:20:52
 
 
À
06/11/2001 18:19:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00578290
Message ID:
00578291
Vues:
27
Opps! Forgot to mention that the code is in the first timers Timer event.

>Hi,
>
>I would like to have a timer within a timer. Here is the code I've tried so far:
>
>*do some stuff
>oTimer = createobject("timer")
>WITH oTimer
>	.interval = 5000
>endwith
>* how to make oTimer start?
>* do some more stuff
>
>
>I was playing with the inkey command for a while. The reason why this wouldn't work is that there is a stop button on the form. When I click the stop button I set the first timer.enabled to false. (hopefully this would also stop oTimer)
>
>Any ideas?
>
>Thanks,
>Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform