FMX.Ani.TAnimator.StartTriggerAnimation
Delphi
class procedure StartTriggerAnimation(const Target: TFmxObject; const AInstance: TFmxObject; const APropertyName: string);
C++
__classmethod void __fastcall StartTriggerAnimation(Fmx::Types::TFmxObject* const Target, Fmx::Types::TFmxObject* const AInstance, const System::UnicodeString APropertyName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Ani.pas FMX.Ani.hpp |
FMX.Ani | TAnimator |
Description
Starts all the animations of the children of this object, based on the given trigger.
StartTriggerAnimation iterates through all the children of this FMX object and, if one of them is of type TAnimation, starts the animation based on the given trigger (for instance, 'IsMouseOver=true'
).
For more information regarding the triggers, refer to the Trigger help topic.