Declaration¶
Source position: fptimer.pp line 69
type
TFPCustomTimer = class(TComponent)
public
constructor Create;
destructor Destroy;
procedure StartTimer;
procedure StopTimer;
end;
Inheritance¶
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.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Create a new timer. |
| Destroy | public | Release a timer instance from memory. |
| StartTimer | public | Start the timer. |
| StopTimer | public | Stop the timer. |
See also¶
| Name | Description |
|---|---|
| TFPTimerDriver | Abstract driver class. |
| TFPTimer | Timer class with published properties. |