FMX.Ani.TAnimator.StartTriggerAnimationWait

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure StartTriggerAnimationWait(const Target: TFmxObject; const AInstance: TFmxObject; const APropertyName: string);

C++

__classmethod void __fastcall StartTriggerAnimationWait(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, and does not return until the animation is finished.

StartTriggerAnimationWait 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'). StartTriggerAnimationWait does not return until the animation is finished.

For more information regarding the triggers, refer to the Trigger help topic.

See Also