RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAnimate.StopFrame Property

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

Pascal
property StopFrame: Smallint;
C++
__property Smallint StopFrame;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!