Use this object to display a Windows animation on the form. An animation control is a window that silently displays an Audio Video Interleaved (AVI) clip. An AVI clip is a series of bitmap frames like a movie. Although AVI clips can have sound, you cannot use such clips with animation controls. You can use only silent AVI clips. Note:The common animation style displayed is dependant on your version of windows. The icon for this object is on the Enhanced page.
PALETTE ICON & SAMPLE
PROPERTIES
The following are the properties that apply to this object. Some are defined in Common Properties and are linked to their appropriate page.
Appearance
Transparent
Behavior
Hint
Misc
Other
Active | Set the animation on or off values are .true. or .false. |
Center | Use this to center the AVI in the space you have drawn. This can be done at runtime. |
CommonAvi | Sets the animation to be used, valid options are aviNone, aviFindfolder, aviFindfile, aviFindcomputer, aviCopyfiles, aviCopyfile, aviRecyclefile, aviEmptyrecycle, aviDeletefile. |
FileName | Setting FileName causes the control to load the animation from the specified file. FileName must refer to a Windows AVI file. The sound track, if present, is ignored. Note: Setting FileName automatically sets the CommonAVI property to aviNone. |
Repetitions | Specifies how many times to repeat the animation, integer value. A value of zero repeats forever. |
StartFrame | 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). |
StopFrame | Set StopFrame to specify the last frame shown every time the animation control displays its sequence of frames. When StopFrame is 0, the clip is played to the very end. Otherwise, StopFrame is the number of the frame in the sequence. When the Active property is set to true, the animation control displays the sequence of frames from StartFrame to StopFrame, repeating this sequence by the number of iterations specified by the Repetitions property. Note: The Play method overrides StopFrame with the value passed as the ToFrame parameter. |
Timers | Not supported in TAS Professional Powered by CAS |
Position
AutoSize | Size the object box to fit the image loaded. If you want to use the Stretch property above then you should not choose this property (set to .False.). If this is checked (set to .True.) it will override the Stretch setting. |
EVENTS
There are no events for this object.
NOTE: On windows vista there are no common AVI so if your going to use this object on Vista you will have to provide files for your animations.
Page url: http://www.cassoftware.com/tas/manual/tanimate.htm