Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is 2nd Timer Event possible while in a Timer Event?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00619247
Message ID:
00619526
Views:
12
Hi Christof

I was using an interval of 100ms on Windows 2000. This is part of a serial communication project. I eventually solved the problem by checking to see if the Timer was Enabled in the Timer Event. If it was not enabled I returned having done nothing.

Simon


>Hi Simon,
>
>>I am trying to trace down a strange experience where the debugger shows a timer control disabled and the timer event still occuring (There is only one timer on the form).
>
>On Windows NT a VFP timer has a minimum activity time of 10 ms. That means, once a timer fired it keeps firing for the next 10 ms at the specified interval, even if you disable the timer immediately. To avoid this make sure that your timer doesn't use intervals of less than 10 ms.
>
>Christof
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform