Difference between revisions of "WEXIST()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=WEXIST()=
 
 
 
 
==Class==
 
==Class==
 
Screen Windows
 
Screen Windows
Line 25: Line 22:
 
<code lang="recital">
 
<code lang="recital">
 
define window browse;
 
define window browse;
from 2,2 to 12,43;
+
  from 2,2 to 12,43;
title "BROWSE Window";
+
  title "BROWSE Window";
color n/bg;
+
  color n/bg;
float;
+
  float;
shadow
+
  shadow
 
activate window browse
 
activate window browse
 
?wexist("browse")
 
?wexist("browse")
Line 40: Line 37:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Screen Windows]]
 +
[[Category:Screen Windows Functions]]

Revision as of 15:30, 1 June 2009

Class

Screen Windows


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


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 Mirage Server, Recital Terminal Developer