# Window

Inherits Container

This class implements a window.

This class is creatable.

`DIM hWindow AS Window hWindow = NEW Window ( [ Parent AS Control ] )`

Creates a new window.

If Parent is omitted, then the new window is a toplevel window.

Otherwise, Parent must be a Workspace control or a Container:

- If Parent is a container, then the window is embedded into it as if it was a control.
- If Parent is a workspace, then the window becomes a MDI child of its workspace.

Properties |  | Methods |  | Events |  | Constants |
--- | --- | --- | --- | --- | --- | --- | ---
Arrangement BackColor Background Border Caption Children ClientH ClientHeight ClientW ClientWidth ClientX ClientY Cursor Design Drop Enabled Expand Font ForeColor Foreground H Handle Height Icon Id Left Mask Menus Modal Mouse Next Padding Parent Persistent Previous ScreenX ScreenY SkipTaskbar Spacing State Tag Text Title ToolTip Top TopOnly Visible W Width Window X Y |  | Center Close Delete Drag Grab Hide Lower Move Raise Refresh Resize SetFocus Show ShowDialog ShowModal |  | Activate Close DblClick Deactivate Drag DragMove Drop Enter GotFocus Hide KeyPress KeyRelease Leave LostFocus Menu MouseDown MouseMove MouseUp MouseWheel Move Open Resize Show |  | Fixed FullScreen Maximized Minimized None Normal Resizable |