@...PLAYER DEFINE PLAYER
|
Creates a player control.
SYNTAX
Standard Window:
@ <nRow> ,<nCol> PLAYER
<ControlName>
[ OF | PARENT <ParentWindowName> ]
WIDTH <nWidth>
HEIGHT <nHeight>
FILE <cFileName>
[ NOAUTOSIZEWINDOW ]
[ NOAUTOSIZEMOVIE ]
[ NOERRORDLG ]
[ NOMENU ]
[ NOOPEN ]
[ NOPLAYBAR ]
[ SHOWALL ]
[ SHOMODE ]
[ SHOWNAME ]
[ SHOWPOSITION ]
[ HELPID <nHelpId> ]
Alternate Syntax:
DEFINE PLAYER <ControlName>
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
WIDTH <nWidth>
HEIGHT <nHeight>
FILE <cFileName>
[ NOAUTOSIZEWINDOW < .T. | .F.> ]
[ NOAUTOSIZEMOVIE < .T. | .F.> ]
[ NOERRORDLG < .T. | .F.> ]
[ NOMENU < .T. | .F.> ]
[ NOOPEN < .T. | .F.> ]
[ NOPLAYBAR < .T. | .F.> ]
[ SHOWALL < .T. | .F.> ]
[ SHOMODE < .T. | .F.> ]
[ SHOWNAME < .T. | .F.> ]
[ SHOWPOSITION < .T. | .F.> ]
[ HELPID <nHelpId> ]
END PLAYER
Related Commands:
PROPERTIES:
Set / Gets enabled state of a Player control.
| |
Sets or gets visible a Player control.
| |
Set / Gets row position of a Player control.
| |
Set / Gets column position of a Player control.
| |
Set / Gets width of a Player control.
| |
Set / Gets height of a Player control.
| |
Retrieves the name of a Player control.
| |
·
Parent (D)
|
Set the name as character identifier of the parent window.
|
· HelpId (D)
|
Set the numeric help topic identifier of the control.
|
· File (D)
|
Set the filename or MCI Device Names to open
|
· Position
|
Moves the current position to the home or end of the
content.
|
· Repeat
|
Sets the repeat flag associated with continuous playback
|
· Speed
|
Sets the playback speed of an MCI device
|
· Volume
|
Sets the volume level of an MCI device
|
· Zoom
|
Resizes a video image according to a zoom factor.
|
· Lenght
|
Retrieves the length of the content or file currently used by
an MCI device.
|
· NoAutoSizeWindow (D)
|
Will not change the dimensions of an MCIWnd window when
the image size changes.
|
· NoAutoSizeMove (D)
|
Will not change the dimensions of the destination rectangle
when an Player window size changes
|
· NoErrorDlg (D)
|
Inhibits display of Player errors to users.
|
· NoMenu (D)
|
Hides the Menu button from view on the toolbar and
prohibits users from accessing its pop-up menu
|
· NoOpen (D)
|
Hides the open and close commands from the Player menu
and prohibits users from accessing these choices in the pop-up menu.
|
· NoPlayBar (D)
|
Hides the toolbar from view and prohibits users from
accessing it.
|
· ShowAll (D)
|
Causes all Player`s styles to be used.
|
· ShowMode (D)
|
Displays the current mode of the Player device in the
window title bar.
|
· ShowName (D)
|
Displays the name of the open MCI device or data file in the
MCIWnd window title bar.
|
· ShowPosition (D)
|
Displays the current position within the content of the MCI
device in the window title bar.
|
D: Available at control definition only
R: Read-Only
METHODS:
Shows a Player control.
| |
Hides a Player control.
| |
Gives the focus to a control Player.
| |
Open a control Player.
| |
Start for Control Player
| |
Reverse play for control Player.
| |
Stop for Control Player
| |
Pause for control Player.
| |
Close for control Player
| |
Releases a control from memory.
| |
Eject for control Player.
| |
Open dialog for control Player.
| |
Resume for control Player.
| |
Save control Player
as BitMap file.
|