Difference between revisions of "WTITLE()"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Screen Windows | Screen Windows | ||
Line 15: | Line 12: | ||
==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()]], [[WEXIST()]], [[WONTOP()]], [[WOUTPUT()]], [[WROWS()]], [[WVISIBLE() | + | [[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()]], [[WVISIBLE()]] |
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 | ||
? wtitle("browse") | ? wtitle("browse") |
Revision as of 12:44, 24 March 2009
Class
Screen Windows
Purpose
Function to return the title of the current or specified window
Syntax
WTITLE([<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(), WVISIBLE()
Description
The WTITLE() function returns the title of either the current window, or the window specified by <window-name>. A window is an area of the screen designated for output and input. There is no limit to the number of defined windows. Windows are created with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command. With no parameter, the WTITLE() function returns the title of the currently active window. If no windows are active, the WTITLE() function returns an empty string. If the window <window-name> is specified and does not exist, or is not active, the WTITLE() function returns a an empty string.
Example
define window browse; from 2,2 to 12,43; title "BROWSE Window"; color n/bg; float; shadow activate window browse ? wtitle("browse") ==BROWSE Window==
Products
Recital Mirage Server, Recital Terminal Developer