Window (Object)

Represents a window created by scripting code. When creating a new Window, fields can only be used before the window is shown. Once the window is shown, modifying fields will yield no effects.

 

Constructors

Window() Creates a reference to a nonexisting window.
Window(String id) Creates a reference to a nonexisting window with the given id.

Fields

Height Number The height the window will be.
ID String Id given to the window.
Object DOMWindow JavaScript reference to the window.
Resizable Boolean Whether the window will be resizable.
ShowAddressBar Boolean Whether the window will have the address bar.
ShowMenuBar Boolean Whether the window will have a menu bar;
ShowScrollBars Boolean Whether the window will show scroll bars.
ShowTitleBar Boolean Whether the window will show the title bar.
ShowToolBar Boolean Whether the window will show the toolbar.
Type String Returns Type.Window
Width Number The width the window will be.
X Number The x position the window will be.
Y Number The y position the window will be.

Properties

Location(String url) Gets or sets the url of the window.

Functions

Close()   Closes the window.
Show()   Opens the window.
Show(String url)   Opens the window to the provided url.

Last edited May 30, 2011 at 3:23 PM by dahrkdaiz, version 4

Comments

No comments yet.