Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timers crossing each other?
Message
From
28/11/2001 11:09:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Timers crossing each other?
Miscellaneous
Thread ID:
00586995
Message ID:
00586995
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform