RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAnimate.Open Property

Indicates whether the animation is loaded into memory.

Pascal
property Open: Boolean;
C++
__property Boolean Open;

Read Open to determine whether the animation is loaded and ready for playing. When the animation is specified using the CommonAVI, FileName, ResName, or ResID property, the animation control is opened automatically. When Open is true, the animation control displays the frame specified by the StartFrame property until the clip is played using the Active property or Play method. 

Set Open to false to free the resources used by the animation. When the animation control is not open, none of the frames can be shown.

Note: When Open is changed from false to true, the StartFrame property is reset to 1 and the StopFrame property is reset to FrameCount.
 

 

Active 

CommonAVI 

FileName 

FrameCount 

OnClose 

OnOpen 

Play 

ResHandle 

ResId 

ResName 

StartFrame 

StopFrame 

Adding Silent Video Clips to an Application

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