@...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:

·     PLAY PLAYER <name> OF <parent>
·     PLAY PLAYER <name> OF <Parent> REVERSE
·     STOP PLAYER <name> OF <Parent>
·     PAUSE PLAYER <name> OF <Parent>
·     CLOSE PLAYER <name> OF <Parent>
·     DESTROY PLAYER <name> OF <Parent>
·     EJECT PLAYER <name> OF <Parent>
·     OPEN PLAYER <name> OF <Parent> FILE <file>
·     OPEN PLAYER <name> OF <Parent> DIALOG
·     RESUME PLAYER <name> OF <Parent>
·     SET PLAYER <name> OF <Parent> POSITION HOME
·     SET PLAYER <name> OF <Parent> POSITION END
·     SET PLAYER <name> OF <Parent> REPEAT ON
·     SET PLAYER <name> OF <Parent> REPEAT OFF
·     SET PLAYER <name> OF <Parent> SPEED <speed>
·     SET PLAYER <name> OF <Parent> VOLUME <volume>
·     SET PLAYER <name> OF <Parent> ZOOM <zoom>

PROPERTIES:

·   Enabled
Set / Gets enabled state of a Player control.
·   Visible
Sets or gets visible a Player control.
·   Row
Set / Gets row position of a Player control.
·   Col   
Set / Gets column position of a Player control.
·   Width
Set / Gets width of a Player control.
·   Height
Set / Gets height of a Player control.
·   Name (R)
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:

·   Show
Shows a Player control.
·   Hide
Hides a Player control.
·   SetFocus
Gives the focus to a control Player.
·   Open
Open a control Player.
·   Play
Start for Control Player
Reverse play for control Player.
·   Stop
Stop for Control Player
·   Pause
Pause for control Player.
·   Close
Close for control Player
·   Release
Releases a control from memory.
·   Eject
Eject for control Player.
·   OpenDialog
Open dialog for control Player.
·   Resume
Resume for control Player.
·   SaveAs
Save control Player as BitMap file.