| [Overview][Types][Classes][Variables][Index] | 
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Timer class with published properties
Source position: fptimer.pp line 92
type TFPTimer = class(TFPCustomTimer)  | 
||
published  | 
||
property Enabled: Boolean;  | 
  | 
Start or stop the timer  | 
  | 
Timer tick interval in milliseconds.  | 
|
property UseTimerThread: Boolean;  | 
  | 
Indicates if a thread is used to execute the timer event  | 
property OnTimer: TNotifyEvent;  | 
  | 
Event called on each timer tick.  | 
property OnStartTimer: TNotifyEvent;  | 
  | 
Event handler signalled when the timer is started  | 
property OnStopTimer: TNotifyEvent;  | 
  | 
Event handler signalled when the timer is stopped  | 
end;  | 
  | 
Timer class with published properties  | 
|
| | | ||
  | 
Custom timer class  | 
|
| | | ||
| | | ||
| | | ||
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.
  | 
Custom timer class  | 
|
  | 
Start or stop the timer  | 
|
  | 
Event called on each timer tick.  | 
|
  | 
Timer tick interval in milliseconds.  |