[Overview][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Custom timer class
Source position: fptimer.pp line 62
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; |
|
Custom timer class |
|
| | ||
| | ||
| | ||
TObject |
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.
|
Abstract driver class |
|
|
Timer class with published properties |