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

# TFPCustomTimer

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

Custom timer class

## Declaration

Source position: fptimer.pp line 40

`type TFPCustomTimer = class(TComponent)`
`public`
`constructor Create(); override;` |  | Create a new timer
`destructor Destroy; override;` |  | Release a timer instance from memory
`procedure StartTimer; virtual;` |  | Start the timer
`procedure StopTimer; virtual;` |  | Stop the timer
`end;`

## Inheritance

`TFPCustomTimer` |  | Custom timer class
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent,IFPObserved`
`TObject`

## Description

TFPCustomTimer is the timer class containing the timer's implementation. It relies on an extra driver instance (of type TFPTimerDriver) to do the actual work.

TFPCustomTimer publishes no events or properties, so it is unsuitable for handling in an IDE. The TFPTimer descendent class publishes all needed events of TFPCustomTimer.

## See also

TFPTimerDriver |  | Abstract driver class
TFPTimer |  | Timer class with published properties

Documentation generated on: Feb 26 2014