@...ANIMATEBOX
DEFINE ANIMATEBOX
Creates an AnimateBox control.
  

An AnimateBox control is a window that displays an Audio-Video Interleaved (AVI) clip. An AVI clip is a series of bitmap frames like a movie. Animation controls can only display AVI clips that do not contain audio.

SYNTAX

Standard Window:

@ <nRow> ,<nCol> ANIMATEBOX <ControlName>
[ ID <
nId> ]
[ OF | PARENT | DIALOG <
ParentWindowName>]
WIDTH <
nWidth>
HEIGHT <
nHeight>
[ FILE <
cFileName> ]
[ AUTOPLAY ]
[ CENTER ]
[ TRANSPARENT ]
[ NOBORDER ]
[ HELPID <
nHelpId> ]

Dialog Window:

REDEFINE ANIMATEBOX <ControlName>
ID <
nId>
[ OF | PARENT | DIALOG <
ParentWindowName>]
[ FILE <
cFileName> ]
[ AUTOPLAY ]
[ CENTER ]
[ TRANSPARENT ]
[ HELPID <
nHelpId> ]

Alternate Syntax:

DEFINE ANIMATEBOX <ControlName>

ROW <nRow>
COL <
nCol>
WIDTH <
nWidth>
HEIGHT <
nHeight>
[ FILE <
cFileName> ]
[ HELPID <
nHelpId> ]
[ TRANSPARENT < .T. | .F.> ]
[ NOBORDER ]
[ AUTOPLAY < .T. | .F.> ]
[ CENTER < .T. | .F.> ]

END ANIMATEBOX

Related Commands:

OPEN ANIMATEBOX <ControlName> OF <ParentFormName> FILE <FileName>
PLAY ANIMATEBOX <ControlName> OF <ParentFormName>
SEEK ANIMATEBOX <ControlName> OF <ParentFormName> POSITION <Frame>
STOP ANIMATEBOX <ControlName> OF <ParentFormName>
CLOSE ANIMATEBOX <ControlName> OF <ParentFormName>
DESTROY ANIMATEBOX <ControlName> OF <ParentFormName>

DESCRIPTION:
nRow, nCol
Position in the area of ??the window in pixels.
nWidth, nHeigth
The desired size of the AnimateBox Control in pixels.
nId
The ID identifier this Control in Dialog Window
ControlName
A reference to the AnimateBox Control
ParentWindowName
A reference to the Parent Window.
cFileName
An AVI file name
nHelpId
The help topic identifier for this Control


PROPERTIES:

·   Enabled
Set / Gets enabled state of a gui object
·   Visible          
Sets or gets visible a gui object.
·   Row
Set / Gets row position of a gui object.
·   Col   
Set / Gets column position of a gui object.
·   Width
Set / Gets width of a gui object.
·   Height
Set / Gets height of a gui object.
·   ToolTip
Set / Gets gui object's tooltip text.
·   Cargo
Set / Gets user property 'Cargo' for controls
·   Name (R)
Retrieves the name of a GUI object.
·   Parent (D)
Set the name as character identifier of the parent window.
·   File (D)
Set the name an AVI file.
·   AutoPlay (D)
The control begins playing the AVI clip immediately after the AVI file or AVI resource is opened
·   Center (D)
Sets the width and height of the control based on the dimensions of a frame in the AVI clip
·   Transparent (D)
Display AVI files with a transparent background
·   HelpId (D)
Set the numeric help topic identifier of the control.
·   NoBorder
Sets style of control with no border

D: Available at control definition only
R: Read-Only

METHODS:

·   Show
Shows a gui object
·   Hide
Hides a gui object.
·   Open (cFile)
Opens an AVI clip and displays its first frame in an control AnimateBox.
·   Play
Plays an AVI clip in an Control AnimateBox
·   Seek (nFrame)
Seek of frame control AnimateBox
·   Stop
Stops playing an AVI clip in an  Control AnimateBox
·   Close
Close for control AnimateBox
·   Release
Releases a control from memory.
·   SaveAs
Save Control as BitMap file.