Sign in Join
FPDoc Onlineexperiment

TCustomIdleTimer.AutoEnabled property

Member of TCustomIdleTimerpublicIn unit ExtCtrls

Controls whether the idle timer can be automatically enabled or disabled.

Declaration

pascal
property AutoEnabled: Boolean read FAutoEnabled write SetAutoEnabled default False;

Description

AutoEnabled is a Boolean property which controls whether the idle timer can be automatically Enabled (or disabled) in event handler routines. The default value for the property is False, and indicates that event handlers in the timer are not assigned to the Application singleton in the UpdateHandlers method.

The value in AutoEnabled is used in the DoOnIdle, DoOnIdleEnd, and DoOnUserInput methods. When AutoEnabled contains False, these routines do not perform actions which toggle the value in the Enabled property.

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