FMX.Types.TTimer.SetInterval
Delphi
procedure SetInterval(Value: Cardinal); virtual;
C++
virtual void __fastcall SetInterval(unsigned Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TTimer |
Description
Sets the value of the Interval property.
SetInterval is the protected write implementation of the Interval property. SetInterval calls UpdateTimer when the property value changes, killing any existing platform-native timer and creating a new one that keeps track of time.
Override SetInterval to change the implementation of the Interval property. When overriding SetInterval, be sure to call the inherited method.