RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAnimate.Seek Method

Displays a specified frame in the sequence.

Pascal
procedure Seek(Frame: Smallint);
C++
__fastcall Seek(Smallint Frame);

Call Seek to move to a particular frame in the animation. The Frame parameter specifies which frame, where 1 is the first frame in the sequence, 2 is the second frame, and so on. Frame must be a value less than or equal to FrameCount

If the animation control is not open when Seek is called, Seek sets Open to true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!