WTITLE()

From Recital Documentation Wiki
Revision as of 14:19, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WTITLE()

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