[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|        DEACTIVATE WINDOW        |
+---------------------------------+
DEACTIVATE WINDOW <window name1>
        [, <window name2> ... ] | ALL

-----------------------------------
Deactivates and clears contents of windows and removes them from screen.
-----------------------------------

The DEACTIVATE WINDOW command will deactivate a window or set of windows
and remove them from the screen.  The window or windows are not removed
from memory, and may be displayed again with the ACTIVATE WINDOW or SHOW
WINDOW commands.

More than one window can be on the screen at one time, but output will
only be directed to the most recently activated window.  When more than
one window is present, deactivating the current output window will
remove it from the screen and causes subsequent output to be directed to
the previously activated window.  If there is no output window, output
is directed to the screen.

You may deactivate a single window or a set of windows by specifying a
single window name or including a list of window names.  If you use the
command DEACTIVATE WINDOW ALL then all windows are deactivated.

Active windows may be removed from the screen and memory with the CLEAR
WINDOWS or RELEASE WINDOWS commands.

Clauses
-------

<window name1>
        [,<window name2> ... ]
        List of windows to be deactivated.

ALL
        Deactivates all active windows.

+---------------------------------+
|         Program Example         |
+---------------------------------+

In this example, window named OUTPUT is DEFINED and ACTIVATED.  After
record from CUSTOMER database has been displayed, program WAITs for you
to press key and window is deactivated.

CLEAR
DEFINE WINDOW output FROM 2,1 TO 13,75 TITLE 'Output' ;
        CLOSE FLOAT GROW SHADOW ZOOM
ACTIVATE WINDOW output
USE customer
DISPLAY
WAIT
DEACTIVATE WINDOW output

-----------------------------------

See Also:  ACTIVATE WINDOW, CLEAR, DEFINE WINDOW, HIDE WINDOW, RELEASE,
SHOW WINDOW

-----------------------------------

See Also: ACTIVATE WINDOW CLEAR DEFINE WINDOW HIDE WINDOW RELEASE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson