pbActive - cAnimation
Determines if animation file can be played
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbActive
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbActive to BooleanVariable |
| Write Access: | Set pbActive to BooleanVariable/Value |
Description
Set the pbActive property to true to start playing an animation file.
Before an animation file can be played, it must be open. There are several ways that you can achieve this:
Set the peAnimation property to the name of a built-in animation, such as aviFileCopy
Set peAnimation to aviFileDelete
Set pbActive To True // plays the animation
Set the psFileName property to the name of an animation file on disk.
Set psFileName to "c:\Test.avi"
Set pbActive To True // plays the animation
Send the DoOpen procedure with the name of an animation file on disk.
Send DoOpen "c:\Test.avi"
Set pbActive To True // plays the animation
If you set this property to True, and the animation cannot be played, it will be reset back to False.
Default is false.