FMX.Types.TFmxObject.AnimateIntWait
Delphi
procedure AnimateIntWait(const APropertyName: string; const NewValue: Integer; Duration: Single = 0.2; AType: TAnimationType = TAnimationType.In; AInterpolation: TInterpolationType = TInterpolationType.Linear);
C++
void __fastcall AnimateIntWait _DEPRECATED_ATTRIBUTE1("Use FMX.Ani.TAnimator instead") (const System::UnicodeString APropertyName, const int NewValue, float Duration = 2.000000E-01f, TAnimationType AType = (TAnimationType)(0x0), TInterpolationType AInterpolation = (TInterpolationType)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TFmxObject |
Description
Warning: AnimateIntWait is deprecated. Please use Ani.TAnimator.
Creates a TIntAnimation for this object (self) and does not return until the animation is finished.
AnimateIntWait creates a TIntAnimation, makes its parent this TFmxObject (self), and does not return until the animation is finished.
AnimateIntWait does the following:
- Sets the AnimationType property of this integer animation to be the TAnimationType provided in the
AType
parameter. - Sets the Interpolation property of this integer animation to be the TInterpolationType provided in the
AInterpolation
parameter. - Sets the Duration event of this integer animation to be the real number provided in the
Duration
parameter. - Sets the PropertyName property of this integer animation to be the string provided in the
APropertyName
parameter. - Sets the StartFromCurrent property of this integer animation to be
True
. - Sets the StopValue property of this integer animation to be the integer provided by the
NewValue
parameter. - Calls Start to start the animation.
See Also
- FMX.Ani.TAnimation.AnimationType
- FMX.Types.TAnimationType
- FMX.Ani.TAnimation.Interpolation
- FMX.Types.TInterpolationType
- FMX.Ani.TAnimation.Duration