Form definitions / Windows and forms |
Clears the contents of a window.
CLEAR WINDOW { identifier | SCREEN }
The CLEAR WINDOW instruction clears the content of the specified window that was declared in an OPEN WINDOW. If the window was created with borders, these are left untouched (only the content of the window is cleared).
If you specify CLEAR WINDOW SCREEN, the root screen will be cleared, except areas occupied by an existing window. CLEAR WINDOW SCREEN will not change the current window setting.
The CLEAR WINDOW instruction is typically used in TUI based applications, as it clears the whole content of the window, including static labels and messages.