@...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:
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:
Set / Gets enabled state of a gui object
| |
Sets or gets visible a gui object.
| |
Set / Gets row position of a gui object.
| |
Set / Gets column position of a gui object.
| |
Set / Gets width of a gui object.
| |
Set / Gets height of a gui object.
| |
Set / Gets gui object's tooltip text.
| |
Set / Gets user property 'Cargo' for controls
| |
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:
Shows a gui object
| |
Hides a gui object.
| |
Opens an AVI clip and displays its first frame in an control
AnimateBox.
| |
Plays an AVI clip in an Control AnimateBox
| |
Seek of frame control AnimateBox
| |
Stops playing an AVI clip in an Control AnimateBox
| |
Close for control AnimateBox
| |
Releases a control from
memory.
| |
Save Control as BitMap file.
|