Difference between revisions of "WEXIST()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Products)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=WEXIST()=
 
 
 
==Class==
 
Screen Windows
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to check for the definition of the specified window
 
Function to check for the definition of the specified window
Line 15: Line 8:
  
 
==See Also==
 
==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()]]
+
[[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()]]
  
  
Line 25: Line 18:
 
<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 37: Line 30:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Screen Windows]]
 +
[[Category:Screen Windows Functions]]

Latest revision as of 16:57, 8 December 2009

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