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

TTimer

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

TTimer is an elapsed timer useful in many applications.

Declaration

Source position: extctrls.pp line 195

type TTimer = class(TCustomTimer)

published

  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

TTimer

  

TTimer is an elapsed timer useful in many applications.

|

TCustomTimer

  

Defines the base class for TTimer.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TTimer is a TCustomTimer descendant which implements an elapsed timer useful in many applications. It inherits most of its properties from TCustomTimer.


Version 4.0 Generated 2025-05-03 Home