[Overview][Classes][Index] |
Event handler signalled when the timer is started.
Source position: customtimer.pas line 54
public property TCustomTimer.OnStartTimer : TNotifyEvent |
OnStartTimer is a TNotifyEvent property that implements the event handler signalled when the timer class instance is started. Assign a TNotifyEvent procedure to the event handler to perform actions needed to reflect the change in the timer state. No actions are performed for the event notification when OnStartTimer is unassigned (contains Nil).
OnStartTimer is signalled from the UpdateTimer method when the value in the Enabled property is changed to True.
Remark: | Please note that OnStartTimer is not signalled when Interval contains the value 0 (zero). |
Use the OnStopTimer event handler to perform actions needed when the timer class instance is stopped (or freed during execution).
Use the OnTimer event handler to perform actions needed when the Interval for the timer has elapsed.
|
The Interval (in milliseconds) for timer notifications. |
|
|
Indicates if the timer is ready to start. |
|
|
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 |