RAD Studio VCL Reference
TAnimate.StartFrame Property

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

property StartFrame: Smallint;
__property Smallint StartFrame;

Set StartFrame to specify the first frame shown when the Active property is set to true. When StartFrame is 1, the clip is played from the very beginning, when StartFrame is 2, the clip begins with the second frame, and so on. If Repetitions is not 1, after the sequence of frames is played, it starts over at the frame specified by StartFrame (which may not be the first frame in the clip). 

When the animation control is Open but not Active, it displays the frame specified by StartFrame.

Note: The Play method overrides StartFrame with the value passed as the FromFrame parameter.


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