Vcl.ComCtrls.TAnimate.Open

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Open: Boolean read FOpen write SetOpen;

C++

__property bool Open = {read=FOpen, write=SetOpen, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TAnimate

Description

Indicates whether the animation is loaded into memory.

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.

See Also