[Overview][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Custom timer class
Source position: fptimer.pp line 40
type TFPCustomTimer = class(TComponent) |
||
protected |
||
property Continue: Boolean; [rw] |
||
procedure Timer; virtual; |
||
function CreateTimerDriver; |
||
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 |
protected |
||
property Enabled: Boolean; [rw] |
||
property OnTimer: TNotifyEvent; [rw] |
||
end; |
|
Custom timer class |
|
| | ||
| | ||
| | ||
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 |
lazarus-ccr.sourceforge.net |