FMX.Types.TFmxObject.AnimateFloatDelay

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AnimateFloatDelay(const APropertyName: string; const NewValue: Single; Duration: Single = 0.2;  Delay: Single = 0.0; AType: TAnimationType = TAnimationType.In; AInterpolation: TInterpolationType = TInterpolationType.Linear);

C++

void __fastcall AnimateFloatDelay _DEPRECATED_ATTRIBUTE1("Use FMX.Ani.TAnimator instead") (const System::UnicodeString APropertyName, const float NewValue, float Duration = 2.000000E-01f, float Delay = 0.000000E+00f, 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: AnimateFloatDelay is deprecated. Please use Ani.TAnimator.

Creates a TFloatAnimation for this object (self).

AnimateFloatDelay creates a TFloatAnimation and makes its parent this TFmxObject (self).

Sets the AnimationType property of this float animation to be the TAnimationType provided in the AType parameter.

Sets the Interpolation property of this float animation to be the TInterpolationType provided in the AInterpolation parameter.

Sets the Delay property of this float animation to be the real number provided in the Delay parameter.

Sets the Duration property of this float animation to be the integer provided in the Duration parameter.

Sets the PropertyName property of this float animation to be the string provided in the APropertyName parameter.

Sets the StartFromCurrent property of this float animation to be True.

Sets the StopValue property of this float animation to be the real number provided by the NewValue parameter.

Calls Start to start the animation.


See Also

Samples