JVCL Help:TJvTimerList
JVCL Help: TJvTimerList Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvTimerList
run\JvTimerList.pas
Summary
Maintains a list of timers.
Pascal
run\JvTimerList.pas
TJvTimerList = class(TComponent);
Description
- JVCLInfo
The TJvTimerList maintains a list of TJvTimerEvent objects, that each provide all the properties of the standard TTimer component. By using a TJvTimerList to maintain timers you have the additional benefit of using only 1 windows timer for up to 32767 timing events. The practical maximum number of timing events depends on how long it takes your application to handle each timer execution.
Windows (system) timers are a scarce system resource. Using more system timers than necessary can impact performance. If a (system) timer is not available when a program needs one, it can either terminate gracefully or it can terminate in a manner that leaves Windows in an unstable state. You can reduce the chances of running out of timers by using a TJvTimerList rather than multiple timers.
TJvTimerList uses the concept of a timer events to perform the same function as the TTimer's OnTimer event. After adding a TJvTimerList compone t to your form, use the component editor to create events at design-time, or call Add method at run-time to create timer events dynamically. Events can repeat until they are canceled or they can be fired only a specific number of times and then be automatically removed (accordingly Cycled property value).
See Also
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page