accuratetimer acAccurateTimer component
Hierarchy Properties Methods Events
Return to Introduction  Previous page  Next page
Overview
The acAccurateTimer component is the thread-based timer which periodically triggers the OnTimer events by specified Interval, but 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 acAccurateTimer 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
acCronJob and acAwayTimer components.