[Overview][Classes][Index] Reference for unit 'CustomTimer' (#lcl)

TCustomTimer.OnStopTimer

OnStopTimer - event handler for stopping the timer.

Declaration

Source position: customtimer.pas line 55

public property TCustomTimer.OnStopTimer : TNotifyEvent
  read FOnStopTimer
  write FOnStopTimer;

Description

OnStopTimer is a TNotifyEvent property that implements the event handler signalled when the timer class instance is stopped. Assign a TNotifyEvent procedure to the property to perform actions needed when the timer is halted (or freed during execution). No actions are performed for the event notification when OnStopTimer is unassigned (contains Nil).

OnStopTimer is signalled from the KillTimer method when the timer class instance has been started and the property has been assigned.

Use the OnStartTimer event handler to perform actions needed when the timer class instance is started.

Use the OnTimer event handler to perform actions needed when the Interval for the timer has elapsed.

See also

TCustomTimer.Interval

  

The Interval (in milliseconds) for timer notifications.

TCustomTimer.Enabled

  

Indicates if the timer is ready to start.

TCustomTimer.OnStartTimer

  

Event handler signalled when the timer is started.

TCustomTimer.OnTimer

  

Event handler signalled when the Interval for the timer has elapsed.


Version 4.0 Generated 2025-05-03 Home