Vcl.ComCtrls.TAnimate.StopFrame

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StopFrame: Smallint read FStopFrame write SetStopFrame default 0;

C++

__property short StopFrame = {read=FStopFrame, write=SetStopFrame, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TAnimate

Description

Specifies the last frame displayed when the animation control is activated.

Set StopFrame to specify the last frame shown every time the animation control displays its sequence of frames. When StopFrame is 0, the clip is played to the very end. Otherwise, StopFrame is the number of the frame in the sequence. When the Active property is set to true, the animation control displays the sequence of frames from StartFrame to StopFrame, repeating this sequence by the number of iterations specified by the Repetitions property.

Note: The Play method overrides StopFrame with the value passed as the ToFrame parameter.

See Also