accuratetimer TumAccurateTimer component
Properties Methods Events
Previous  Top  Next
The AccurateTimer component is the thread-based timer which periodically triggers the OnTimer events by specified Interval. Unlike standard TTimer, which based on Win32API and thus loses timer messages on high application overload, this timer runs in the separate thread and accurately triggers each OnTimer event at right time. It also allows to specify the Interval with higher precision (less than 55msec, limited in Win9x) and does not dependent to the system-wide limitations.  

How to use
Drop the AccurateTimer on your form, specify the Interval (amount of time, in milliseconds, that passes before the component initiates another OnTimer event), and write the OnTimer event handler to execute an action at regular intervals.  

See also
umCronJob and umAwayTimer components.