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

TIdleTimer

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

TIdleTimer : A timer to measure idle time between processes

Declaration

Source position: extctrls.pp line 330

type TIdleTimer = class(TTimer)

protected

  procedure SetAutoEnabled(); virtual;

  

SetAutoEnabled - specifies whether AutoEnable is allowed

  procedure DoOnIdle(); virtual;

  

DoOnIdle - performs the code for timer idling

  procedure DoOnIdleEnd(); virtual;

  

DoOnIdleEnd - performs the code for the end of idling

  procedure DoOnUserInput(); virtual;

  

DoOnUserInput - performs the code for responding to user input

  procedure Loaded; override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  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

end;

Inheritance

TIdleTimer

  

TIdleTimer : A timer to measure idle time between processes

|

TTimer

  

TTimer: An elapsed timer useful in many applications

|

TCustomTimer

  

TCustomTimer - base class for TTimer

|

TComponent

?

TObject

Description

TIdleTimer: A timer to measure idle time between processes

Inherits most of its properties from TCustomTimer