@...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 ]
[ INVISIBLE ]
[ TRANSPARENT ]
[ BACKCOLOR <BackColor> ]
[ NOBORDER ]
[ HELPID <nHelpId> ]
Dialog Window:
REDEFINE ANIMATEBOX <ControlName>
ID <nId>
[ OF | PARENT | DIALOG <ParentWindowName>]
[ FILE <cFileName> ]
[ AUTOPLAY ]
[ CENTER ]
[ TRANSPARENT ]
[ BACKCOLOR <BackColor> ]
[ HELPID <nHelpId> ]
Alternate Syntax:
DEFINE ANIMATEBOX <ControlName>
ROW <nRow>
COL <nCol>
WIDTH <nWidth>
HEIGHT <nHeight>
[ FILE <cFileName> ]
[ HELPID <nHelpId> ]
[ TRANSPARENT < .T. | .F.> ]
[ BACKCOLOR <BackColor> ]
[ NOBORDER ]
[ AUTOPLAY < .T. | .F.> ]
[ CENTER < .T. | .F.> ]
[ INVISIBLE
END ANIMATEBOX
Related Commands:
nRow, nCol
|
Position in the area of ??the window in pixels.
|
nWidth, nHeight
|
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
|
Specifies the AVI file name
|
nHelpId
|
The help topic identifier for this Control
|
Frame
|
Specifies at which frame the AnimateBox should starts
|
|
|
AUTOPLAY
|
Specifies that we want to auto play the AnimateBox control
|
CENTER
|
Specifies to Center the AnimateBox control
|
TRANSPARENT
|
Specifies that the background of a control should be
transparent
|
NOBORDER
|
Specifies that No Border be drawed around the 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.
| |
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
|
Sets the width and height of the control based on the
dimensions of a frame in the AVI clip
| |
Display AVI files with a transparent background
| |
Set the numeric help topic identifier of the control.
| |
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.
| |
Redraw a Control
| |
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.
|
EXAMPLE:
MiniGui - (c) 2003-2016 Roberto Lopez
Extended version - MiniGUI Team (Grigory Filatov,Jacek Kubica,Janusz Pora)
Edited by Janusz Pora