[Overview][Types][Classes][Variables][Index] | Reference for unit 'fpTimer' (#fcl)

# TFPTimer

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

Timer class with published properties

## Declaration

Source position: fptimer.pp line 64

`type TFPTimer = class(TFPCustomTimer)`
`published`
`property Enabled;` |  | Start or stop the timer
`property Interval;` |  | Timer tick interval in milliseconds.
`property OnTimer;` |  | Event called on each timer tick.
`end;`

## Inheritance

`TFPTimer` |  | Timer class with published properties
`TFPCustomTimer` |  | Custom timer class
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

## Description

TFPTimer implements no new events or properties, but merely publishes events and properties already implemented in TFPCustomTimer: Enabled, OnTimer and Interval.

The TFPTimer class is suitable for use in an IDE.

## See also

TFPCustomTimer |  | Custom timer class
Enabled |  | Start or stop the timer
OnTimer |  | Event called on each timer tick.
Interval |  | Timer tick interval in milliseconds.

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