WOUTPUT()
Class
Screen Windows
Purpose
Function to check if the specified window is the active, or output window
Syntax
WOUTPUT([<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(), WROWS(), WVISIBLE()
Description
The WOUTPUT() function is used to determine which window is the currently active, or output window. 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. With no parameter, the WOUTPUT() function returns the name of the currently active, or output window in upper case. If there are no windows active, the WOUTPUT() function returns a null string.
If the window specified by <window-name> has not been defined, or is not the currently active window, the WOUTPUT() function returns .F.. If the specified <window-name> is the current output window the WOUTPUT() function returns .T..
Example
activate window edit activate window memo activate window browse ? woutput() BROWSE ? woutput("edit") .F.
Products
Recital Mirage Server, Recital Terminal Developer