WINDOW CLOSE

WINDOW CLOSE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

WINDOW CLOSE

Closes an open window.

Syntax

WINDOW CLOSE [window]

Parameters

window

Window can be
name
The name of an open window. The software looks up name in the currently accessed directories in the usual way. A compiled command using name contains the unambiguous name of the window (including a reference to an application directory) that was found at compile time.
(expr )
A character string, or an expression that evaluates to a character string, that is to be used at run time as a window object name. The parentheses must be entered.
A compiled command using (expr) can refer to many windows, at the risk of encountering an ambiguous window name (i.e., no directory specified when versions of the window are available in two or more directories).
If neither name nor (expr) is specified, the current window is assumed.

Comments

The WINDOW CLOSE command closes the specified window (and any form, display, or menu that is currently open in the window). If the window being closed is active, it is deactivated (removed from the screen) before being closed.

If the window being closed is the current window, the window that last was current becomes current once again.

If the window being closed is the parent of other open windows, the child windows are also closed.

 

See Also

$iswinopen

WINDOW CLEAR

WINDOW DEACTIVATE

WINDOW OPEN

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish