Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many timers are TOO MANY?
Message
De
21/07/2004 15:13:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00926585
Message ID:
00926720
Vues:
15
You've got to put code in there that actually does something to see the difference...put a long loop, for example, or run a query that takes a while...

>
>Ok, I did a test. I created a blank form with two timers on it. One timer was set to 10 seconds (interval=10000) and the following code is in it.
>
WAIT WINDOW AT 0,1 "TIMER1"
>
>The second timer is set to 1 second and has the following code.
>
WAIT WINDOW ALLTRIM(TIME()) nowait
>
>Now the interesting thing is that when timer one fires it only stays up for one second and then timer 2 fires even though the wait window on timer one should stop the process. Maybe Wait windows are not the best way to test this but it appears that timer two fires even though timer one is executing a wait window.
>
>I will try Jim's point of 4 timers and see if this makes a difference...
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform