system.window.<...>

Return to Introduction  Previous page  Next page

Gets or sets dimensions of the display window (in a standalone windowed playback enviornment).

 

Properties

 

width

Gets or sets the width of the player window.

height

Gets or sets the height of the player window.

x

Gets or sets the x position of the player window.

y

Gets or sets the y position of the player window.

allowFramelessMove

If you set this to false, you will not be able to move a frameless window by clicking in it.

minimized

Get or set whether the player window is minimized (true/false).

keepAspect

If you set this to true, the window will adjust to keep the same aspect ratio when sized.

 

Methods

 

bringToFront()

Brings the player's window to the front of all windows.

print(showSettings)

Sends the window to the printer - if a boolean showSettings is not supplied or true, a dialog will pop up with the printer settings first.

 

Examples

 

system.window.width=640;

system.window.height=480;

 

Remarks

 

All coordinates are in pixels, relative to the top left of the desktop.

 

See Also

 

System



Copyright ©2004 Worldweaver Ltd. DX Studio Home