FMX.Ani.TFloatKeyAnimation.Enabled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Enabled: Boolean read FEnabled write SetEnabled default 0;

C++

__property Enabled = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TFloatKeyAnimation

Description

Starts the animation during the initialization of the runtime.

FMX.Ani.TFloatKeyAnimation.Enabled inherits from FMX.Ani.TAnimation.Enabled. All content below this line refers to FMX.Ani.TAnimation.Enabled.

Starts the animation during the initialization of the runtime.

Set Enabled to True to start the animation immediately after the animation instance is created and attached to its parent. Set Enabled at design time in the Object Inspector for the TAnimation or when the TAnimation is created dynamically. With Enabled set to True, you do not have to execute the TAnimation Start method. You can also set Enabled to True anytime to start the animation, but you must set Enabled to False and then to True again to run the animation a second time. Also, if you set Enabled to False before the animation completes, setting Enabled back to True will start the animation from the current value if StartFromCurrent is True, otherwise it will rerun the animation from the StartValue.

See Also

Code Examples