Sign in Join
FPDoc Onlineexperiment

TFPCustomTimer.OnTimer property

Member of TFPCustomTimerprotectedIn unit fpTimer

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

Declaration

pascal
property OnTimer: TNotifyEvent read FOnTimer write FOnTimer;

Description

OnTimer is a TNotifyEvent property with the event handler signalled when the Interval for the timer has elapsed. An object procedure must be assigned to perform the actions needed when the timer interval has elapsed.

Use the OnStartTimer and OnStopTimer event handlers to perform actions needed when the timer is started or stopped.

Assign event handler routines to the properties before setting Enabled to True.

See also

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