[Overview][Classes][Index] |
The Interval (in milliseconds) for timer notifications.
Source position: customtimer.pas line 52
public property TCustomTimer.Interval : Cardinal |
Interval is a Cardinal property which indicates the frequency (in milliseconds) for OnTimer event notifications during timer execution. The default value for the property is 1000 milliseconds (or 1 second).
Changing the value in Interval causes the UpdateTimer method to be called to update the values for properties in the timer class instance. Setting the value in Interval to 0 (zero) prevents the timer from allocating it handle and performing the OnStartTimer event handler when Enabled is changed to True.
Use Enabled to indicate if the timer can be executed.
Use the OnStartTimer, OnStopTimer, and OnTimer event handlers to perform actions needed for the corresponding execution states in the timer class instance.
|
Indicates if the timer is ready to start. |
|
|
Updates the Timer to reflect the current properties. |
|
|
Event handler signalled when the timer is started. |
|
|
OnStopTimer - event handler for stopping the timer. |
|
|
Event handler signalled when the Interval for the timer has elapsed. |
Version 4.0 | Generated 2025-05-03 | Home |