Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Timer Event doesn't fire in my class
Message
 
 
To
06/10/2001 19:55:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00565220
Message ID:
00565230
Views:
14
This message has been marked as the solution to the initial question of the thread.
Robin,

Timer doesn't fire during long tough loops. You have to add DOEVENTS() in your loop but it could slow your code dramaticaly. See faq#7779 and Message #466127 for some workarounds.

>Hi, Dear All,
> There is something strange. I've placed a timer object in my custom class to check the progress of how long produre running and report to me. But it seems the timer event doesn't fire always. The timer enabled is set to .T., when the start buttom click. And while I press ESC key to stop the program, the timer event begin to work. And If I remove all the other class(except Label) timer event works again. Oh I forgot one thing, There is a Active X component(Progress BAR) in my class. Is the timer class can not work with Active X or other problem cause this matter? Have you met the same problem and how did you sovle it? Thanks.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform