FMX.Ani.TAnimation.Loop
Delphi
property Loop: Boolean read FLoop write FLoop default False;
C++
__property bool Loop = {read=FLoop, write=FLoop, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Ani.pas FMX.Ani.hpp |
FMX.Ani | TAnimation |
Description
Repeats the animation indefinitely.
Set Loop to True to repeat the animation indefinitely from the StartValue to the StopValue. The OnFinish event handler never gets called when Loop is True.
To stop a looping animation, call Stop.
See Also
- FMX.Ani.TFloatAnimation.StopValue
- FMX.Ani.TFloatAnimation.StartValue
- FMX.Ani.TAnimation.OnFinish
- FMX.Ani.TAnimation.Stop