Skip to content

DefaultTimerDriverClass

Actual timer class to be used.

Declaration

Source position: fptimer.pp line 126

var
  DefaultTimerDriverClass: TFPTimerDriverClass = class of TFPTimerDriver = Nil;

Description

DefaultTimerDriverClass contains the TFPTimerDriver class pointer that should be used when a new instance of TFPCustomTimer is created. It is by default set to the system timer class.

Setting this class pointer to another descendent of TFPTimerDriver allows to customize the default timer implementation used in the entire application.

See also

Name Description
TFPTimerDriver Abstract driver class.
TFPCustomTimer Custom timer class.