Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timers crossing each other?
Message
De
28/11/2001 11:09:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Timers crossing each other?
Divers
Thread ID:
00586995
Message ID:
00586995
Vues:
49
Hi all,

I read somewhere that Timers are modeless controls. If I have two timers and both have different intervals; will they overlap each other during their Timer Events?
Ex.
Timer1.Interval = 10000 && 10 secs
Timer2.Interval = 60000 && 60 secs

Timer1.Timer && event occured
  query backend database ... && SQLExec() query ran for about 3 minutes

Timer2.Timer  && 60 secs has passed since the Timer1.Event occured
  select alias1 
  go top   && Error occured here!!!
I had an error reading file which then generated the fatal C000005 error. During the 3 minutes that took for the Timer1.Timer event to complete the query; it seemed that the Timer2.Timer event took place as well. How does VFP7 manage multiple Timer controls timer events?


TIA,
ramil
~~ learning to stand still
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform