Sign in Join
FPDoc Onlineexperiment

TIdleTimer.Interval property

Member of TIdleTimerpublishedIn unit ExtCtrls

The Interval (in milliseconds) for timer notifications.

Declaration

pascal
property Interval:;

Description

Interval is a Cardinal property which indicates the frequency (in milliseconds) for OnTimer event notifications during timer execution. The default value for the property is 1000 milliseconds (or 1 second).

Changing the value in Interval causes the UpdateTimer method to be called to update the values for properties in the timer class instance. Setting the value in Interval to 0 (zero) prevents the timer from allocating it handle and performing the OnStartTimer event handler when Enabled is changed to True.

Use Enabled to indicate if the timer can be executed.

Use the OnStartTimer, OnStopTimer, and OnTimer event handlers to perform actions needed for the corresponding execution states in the timer class instance.

This description is the one of CustomTimer.TCustomTimer.Interval.

See also

  • Enabled
  • UpdateTimer
  • OnStartTimer
  • OnStopTimer
  • OnTimer

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