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--