CLOSE WINDOW
The CLOSE WINDOW statement closes a specified 4GL window.
window is the identifier of the 4GL window to be closed.
The CLOSE WINDOW statement causes 4GL to take the following actions:
Clears the specified 4GL window from the Application window, and restores any underlying display.
Frees all resources used by the 4GL window, and deletes it from the 4GL window
stack.
If the OPEN WINDOW statement included the WITH FORM clause, the CLOSE WINDOW
statement closes both the form and the 4GL window.
4GL maintains an ordered list of open 4GL windows, called the window stack.
When you open a new 4GL window, the new window is added to the stack and becomes
the current window, meaning that it occupies the top of the stack. If you close
the current window, the next 4GL window on the stack becomes the new current
window. If you close any other window, 4GL deletes it from the window stack,
leaving the current window unchanged.
Closing a window has no effect on values of variables that were set while the
window was open.
References
CLEAR
CLOSE FORM
CURRENT WINDOW
OPEN WINDOW
OPTIONS