Contains definition of base class for TTimer
TCustomTimer
- base class for TTimer
Timer
- procedure that is called when the timer has expired; calls user's OnTimer function.
Is called when the timer has expired and calls users OnTimer function.
Sets the Enabled property to True or False
Whether or not enabled
Sets the Interval property
The Value of the Interval to be set for the timer
Sets the OnTimer property
The Value of the TNotifyEvent
DoOnTimer
- calls OnTimer event handler
Updates the Timer to refleect the current properties
KillTimer
- kills the current timer object
Create
- constructor for TCustomTimer: calls inherited Create, sets up handle and initialises timer interval
Destroy
: destructor for TCustomTimer: disables and kills timer then calls inherited Destroy
Enabled
- if True, timer is ready to start
The Interval for which the timer is to run
OnTimer
- event handler for timer interval complete (expired)
OnStartTimer
- event handler for starting the timer running
OnStopTimer
- event handler for stopping the timer