WEXIST()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to check for the definition of the specified window


Syntax

WEXIST(<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(), WONTOP(), WOUTPUT(), WROWS(), WTITLE(), WVISIBLE()


Description

The WEXIST() function returns .T. if the specified <window-name> has been previously defined, otherwise .F.. A window is an area of the screen designated for output and input. Windows are defined with the DEFINE WINDOW command and are activated with the ACTIVATE window command. There is no limit to the number of defined windows.


Example

define window browse;
  from 2,2 to 12,43;
  title "BROWSE Window";
  color n/bg;
  float;
  shadow
activate window browse
?wexist("browse")
.T.


Products

Recital