FMX.Types.TTimer.SetEnabled
Delphi
procedure SetEnabled(Value: Boolean); virtual;
C++
virtual void __fastcall SetEnabled(bool 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 Enabled property.
SetEnabled is the protected write implementation of the Enabled property. SetEnabled calls UpdateTimer when the property value changes, killing any existing platform-native timer and creating a new one that keeps track of time.
Override SetEnabled to change the implementation of the Enabled property. When overriding SetEnabled, be sure to call the inherited method.