Sign in Join
FPDoc Onlineexperiment

TCustomTimer.KillTimer procedure

Member of TCustomTimerprotectedIn unit CustomTimer

Stops execution of the timer class instance.

Declaration

pascal
procedure KillTimer; virtual

Description

KillTimer is a protected virtual procedure used to stop execution of the timer class instance. KillTimer ensures that a value widget set handle has been assigned for the timer class instance prior to freeing the handle and signalling the OnStopTimer event handler (when assigned). No actions are performed in the method if the widget set handle is not assigned or invalid.

KillTimer is called from the UpdateTimer method, and when the class instance is freed in the Destroy method.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.