FMX.Ani.TColorAnimation.OnFinish

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFinish: TNotifyEvent read FOnFinish write FOnFinish;

C++

__property OnFinish;

Properties

Type Visibility Source Unit Parent
event published
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TColorAnimation

Description

The event handler called after an animation has stopped.

FMX.Ani.TColorAnimation.OnFinish inherits from FMX.Ani.TAnimation.OnFinish. All content below this line refers to FMX.Ani.TAnimation.OnFinish.

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