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

TFPTimer

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

Timer class with published properties

Declaration

Source position: fptimer.pp line 92

type TFPTimer = class(TFPCustomTimer)

published

  property Enabled: Boolean;

  

Start or stop the timer

  property Interval: Cardinal;

  

Timer tick interval in milliseconds.

  property UseTimerThread: Boolean;

  property OnTimer: TNotifyEvent;

  

Event called on each timer tick.

  property OnStartTimer: TNotifyEvent;

  property OnStopTimer: TNotifyEvent;

end;

Inheritance

TFPTimer

  

Timer class with published properties

|

TFPCustomTimer

  

Custom timer class

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

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.

See also

TFPCustomTimer

  

Custom timer class

Enabled

  

Start or stop the timer

OnTimer

  

Event called on each timer tick.

Interval

  

Timer tick interval in milliseconds.


Documentation generated on: Sep 28 2017