Vcl.ComCtrls.TAnimate.StartFrame
Delphi
property StartFrame: Smallint read FStartFrame write SetStartFrame default 1;
C++
__property short StartFrame = {read=FStartFrame, write=SetStartFrame, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TAnimate |
Description
Specifies the first frame displayed when the animation control is activated.
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.