Sign in Join
FPDoc Onlineexperiment

TFPCustomTimer.Enabled property

Member of TFPCustomTimerprotectedIn unit fpTimer

Starts or stops the timer.

Declaration

pascal
property Enabled: Boolean read FEnabled write SetEnabled;

Description

Enabled controls whether the timer can become Active. Setting Enabled to True will start the timer (by calling StartTimer). Setting it to False will stop the timer (by calling StopTimer).

Use the Interval property to set the elapsed time before the OnTimer event is signalled. Assign the OnTimer, OnStartTimer, and OnStopTimer event handlers prior to setting Enabled to True.

See also

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