Window Object
Description
The Window object provides access to properties and methods relating to CRT's window such as the windowÆs visible state, caption, etc.
Syntax
Remarks
CRT's Window object is accessed through the top-level objectÆs æWindowÆ property.
Window Object Properties and Methods
ááááActive |
ááááActivate |
ááááCaption |
ááááShow |
ááááState |
|
Description
Returns True if CRT's window is the active window, otherwise False.
Syntax
Remarks
Boolean read-only property.
Description
Returns or sets the title or caption of CRT's application window.
Syntax
Remarks
Read/write string property.
Description
Returns a number indicating the state of CRT's application window.
Syntax
Remarks
Read-only numeric property. The state may be one of the following values depending on CRT's window state:
0 - hidden
1 - visible (normal)
2 - minimized
3 - maximized
Description
Gives focus to the CRT window, bringing the window to the top of the desktop.
Syntax
Remarks
On Windows 98 and Windows 2000, calling Activate()from a script may cause CRT's icon to flash in the task bar instead of raising CRT to the top. This is the required behavior for these operating systems.
Description
Shows, hides, minimizes, maximizes or restores CRT's application window
Syntax
Remarks
The state may be one of the following values:
0 - Hide
1 - Show (Normal)
2 - Minimize
3 - Maximize