ACUCOBOL-GT includes a class of graphical windows called floating windows. When run under a graphical environment, floating windows correspond to the graphical windows that are native to the host environment. On character-based systems, floating windows are emulated with text-mode elements and are managed directly by the ACUCOBOL-GT runtime system.
The primary characteristics of a floating window are:
The main application window is treated as a special-case floating window that has no parent window.
Floating windows may be either modal or modeless. A modal window is a window that the user cannot leave until it is dealt with and closed. When a modal window is active, all other windows are disabled.
A modeless window is one that allows the user to switch among windows while allowing each modeless window to remain open and available. When a modeless window is active, the user can activate another window using the host system's techniques for doing so (for example, by clicking on the window with the mouse).
The names modal and modeless are derived from the idea that a modal window enters a new mode in the program (for example, selecting a file to open), while a modeless window does not (since the user can continue working on tasks in other windows).
Floating windows are modal by default. The MODAL phrase may be included as commentary. Inclusion of the MODELESS phrase makes a window modeless.