From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Duration: Single read FDuration write FDuration nodefault;


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


Type Visibility Source Unit Parent
property public
FMX.Ani TAnimation


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