CURRENT WINDOW
The CURRENT WINDOW statement makes a specified 4GL window the current window (that is, the topmost 4GL window in the window stack).
window is the name of the open 4GL window to be made current.
- GL maintains a list or stack of all open 4GL windows in the Application window. The OPEN WINDOW statement creates a new 4GL window that is added to the top
of this window stack, becoming the current window. When you close a 4GL window, that 4GL window is removed from the stack. The topmost 4GL
window among those that remain open becomes the new current window. Its values take
effect for the positions of reserved lines like Prompt, Message, Form, and
Comment lines.
The current 4GL window is always completely visible, and can obscure all or
part of any inactive 4GL windows. When you specify a new current window, 4GL
adjusts the window stack by moving the new current 4GL window to the top, and
closing the gap in the stack left by this 4GL window.
Programs with multiple 4GL windows may need to switch to a different current
window so that input and output occur in the appropriate 4GL window. To make a
4GL window the current window, specify its name in the CURRENT WINDOW statement.
References
CLEAR
CLOSE WINDOW
DISPLAY ARRAY
INPUT
INPUT ARRAY
MENU
OPEN WINDOW
OPTIONS