From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnFinish: TNotifyEvent read FOnFinish write FOnFinish;


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


Type Visibility Source Unit Parent
event public
FMX.Ani TAnimation


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