WVISIBLE()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to check if the specified window is active and not hidden


Syntax

WVISIBLE(<window-name>)


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MOVE WINDOW, MODIFY MEMO, RELEASE WINDOWS, RESIZE WINDOW, RESTORE WINDOW, SAVE WINDOW, SHOW WINDOW, SET COMMANDWINDOW, SET ERRORWINDOW, SET STATUS, SET TRACEWINDOW, SET WINDOW OF EDIT, SET WINDOW OF MEMO, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WTITLE()


Description

The WVISIBLE() function is used to determine if a window, <window-name>, is activated and not hidden. A window is an area of the screen designated for output and input. Windows are created with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command. There is no limit to the number of defined windows. The HIDE WINDOW command removes a window or group of windows from a screen. Hidden windows remain active in memory, and output may be directed to hidden windows. Hidden windows may be revealed with either the SHOW WINDOW or ACTIVATE WINDOW commands. If the window is active and not hidden, WVISIBLE() returns .T., otherwise .F..


Example

activate window edit
activate window memo
activate window browse
hide window browse
?woutput()
browse
?wvisible("browse")
.T.


Products

Recital