Sign in Join
FPDoc Onlineexperiment

TCustomTimer.OnStopTimer property

Member of TCustomTimerpublicIn unit CustomTimer

OnStopTimer - event handler for stopping the timer.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.