[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TIdleTimer

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a timer to measure idle time between processes.

## Declaration

Source position: extctrls.pp line 252

`type TIdleTimer = class(TCustomIdleTimer)`
`published`
`property AutoEnabled: Boolean;` |  | Controls whether the idle timer can be automatically enabled or disabled.
`property AutoStartEvent: TIdleTimerAutoEvent;` |  | AutoStartEvent - the event that triggers auto-start (either idle time-out or user input).
`property AutoEndEvent: TIdleTimerAutoEvent;` |  | AutoEndEvent - the event that stops the timer by setting Enabled to False.
`property Enabled: Boolean;` |  | Indicates if the timer is ready to start.
`property Interval: Cardinal;` |  | The Interval (in milliseconds) for timer notifications.
`property OnTimer: TNotifyEvent;` |  | Event handler signalled when the Interval for the timer has elapsed.
`property OnStartTimer: TNotifyEvent;` |  | Event handler signalled when the timer is started.
`property OnStopTimer: TNotifyEvent;` |  | OnStopTimer - event handler for stopping the timer.
`end;`

## Inheritance

`TIdleTimer` |  | Implements a timer to measure idle time between processes.
`TCustomIdleTimer` |  | Implements the base class for TIdleTimer.
`TCustomTimer` |  | Defines the base class for TTimer.
`TComponent`
?
`TObject`

## Description

TIdleTimer is a timer used to measure idle time between processes.