Show: Delphi C++
Display Preferences

FMX.Ani.TAnimation.OnFinish

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFinish: TNotifyEvent read FOnFinish write FOnFinish;

C++

__property System::Classes::TNotifyEvent OnFinish = {read=FOnFinish, write=FOnFinish};

Properties

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

Description

The event handler called after an animation has stopped.

An animation continues for a Duration number of seconds after it starts, long after the procedure calling Start completes. Place any processing needed after the animation completes in the OnFinish event handler. OnFinish does not get called if the Loop property is True, unless the Stop method is called.

OnFinish is the correct place to monitor and respond to the completion of an animation.

OnFinish is of type System.Classes.TNotifyEvent. See System.Classes.TNotifyEvent for information about the parameters of OnFinish.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance