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

# TCustomIdleTimer

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

TCustomIdleTimer - base class for TIdleTimer

## Declaration

Source position: extctrls.pp line 348

`type TCustomIdleTimer = class(TCustomTimer)`
`protected`
`procedure SetAutoEnabled(); virtual;` |  | SetAutoEnabled puts the supplied boolean value into the AutoEnabled property and updates handlers
`procedure DoOnIdle(); virtual;` |  | DoOnIdle - action to be taken if the timer is idle
`procedure DoOnIdleEnd(); virtual;` |  | DoOnIdleEnd -action to be taken at the end of an idle period
`procedure DoOnUserInput(); virtual;` |  | DoOnUserInput - action to be taken when user input is detected
`procedure Loaded; override;` |  | Loaded - calls inherited method and updates Handlers
`public`
`constructor Create(); override;` |  | Create - constructor for TCustomIdleTimer: calls inherited Create and initialises some local event variables
`destructor Destroy; override;` |  | Destroy - destructor for TCustomIdleTimer: calls inherited Destroy after setting the AutoEnabled property False
`property AutoEnabled: Boolean; [rw]` |  | AutoEnabled - if True, Timer is automatically enabled
`property AutoStartEvent: TIdleTimerAutoEvent; [rw]` |  | AutoStartEvent - the event that triggers autostart (either idle time-out or user input)
`property AutoEndEvent: TIdleTimerAutoEvent; [rw]` |  | AutoEndEvent - the event that causes the automatic end of the timer
`property FireOnIdle: Boolean; [rw]` |  | FireOnIdle - boolean property determining whether the timer should fire when idle
`end;`

## Inheritance

`TCustomIdleTimer` |  | TCustomIdleTimer - base class for TIdleTimer
`TCustomTimer`
?
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.