[Overview][Classes][Index] Reference for unit 'CustomTimer' (#lcl)

TCustomTimer.Enabled

Indicates if the timer is ready to start.

Declaration

Source position: customtimer.pas line 49

public property TCustomTimer.Enabled : Boolean
  read FEnabled
  write SetEnabled
  default True;

Description

Enabled is a Boolean property which controls the state for the timer class instance. When Enabled contains True the timer can be executed, and its OnTimer event handler is signalled when the Interval for the timer has elapsed. Changing the value in Enabled causes the UpdateTimer method to be called to set the current value for properties in the timer.

See also

TCustomTimer.Create

  

Create - constructor for TCustomTimer: calls inherited Create, sets up handle and initializes timer interval.

TCustomTimer.Destroy

  

Destructor for the timer class instance.

TCustomTimer.Interval

  

The Interval (in milliseconds) for timer notifications.

TCustomTimer.UpdateTimer

  

Updates the Timer to reflect the current properties.

TCustomTimer.OnStartTimer

  

Event handler signalled when the timer is started.

TCustomTimer.OnStopTimer

  

OnStopTimer - event handler for stopping the timer.

TCustomTimer.OnTimer

  

Event handler signalled when the Interval for the timer has elapsed.


Version 3.2 Generated 2024-02-25 Home