[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|            WVISIBLE             |
+---------------------------------+
WVISIBLE(<window name>)

-----------------------------------
Returns true if window has been activated and is not hidden.
Return value - Logical
-----------------------------------

<window name>
        Name of window.  If the null string is included, a logical true is
always returned.  The null string represents the screen (desktop) in
window functions.  If you include the name of a window that does not
exist, false is returned.

+---------------------------------+
|         Program Example         |
+---------------------------------+
DEFINE WINDOW screen1 FROM 10,10 TO 20,69 CLOSE FLOAT
DEFINE WINDOW screen2 FROM 0,0   TO 19,79 CLOSE FLOAT
ACTIVATE WINDOW screen1
ACTIVATE WINDOW screen2
* <commands follow that allow user to close output windows>
* If the window has been closed, it no longer exists
IF NOT WEXIST('screen1')
        DEFINE WINDOW screen1 FROM 10,10 TO 20,69 CLOSE FLOAT
ENDIF
* If the window has just been hidden
IF NOT WVISIBLE('screen1')
        ACTIVATE WINDOW screen1
ENDIF

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

See Also:  ACTIVATE WINDOW, DEFINE WINDOW, WEXIST(), WLAST(), WONTOP(),
WOUTPUT()

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

See Also: ACTIVATE WINDOW DEFINE WINDOW WEXIST() WLAST() WONTOP()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson