Show: Delphi C++
Display Preferences

FMX.Ani.TAnimation.Duration

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Duration: Single read FDuration write FDuration nodefault;

C++

__property float Duration = {read=FDuration, write=FDuration};

Properties

Type Visibility Source Unit Parent
property public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TAnimation

Description

The amount of time (in seconds) to animate from the start value to the stop value.

Set Duration at design time in the Object Inspector of a TAnimation class descendant that is the child of a TFmxObject. As an alternative, you can create a TAnimation instance and set its Parent property to the parent TFmxObject, and then set its Duration property. The third option is to call one of the TFmxObject's animate methods, such as AnimateFloat, and pass Duration as one of its parameters.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance