Sign in Join
FPDoc Onlineexperiment

DefaultTimerDriverClass variable

In unit fpTimer

Actual timer class to be used.

Declaration

pascal
DefaultTimerDriverClass: TFPTimerDriverClass = 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.