Difference between revisions of "WROWS()"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==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 | ||
? wrows("browse") | ? wrows("browse") | ||
Line 40: | Line 37: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Screen Windows]] | ||
+ | [[Category:Screen Windows Functions]] |
Revision as of 15:29, 1 June 2009
Class
Screen Windows
Purpose
Function to return the number of rows in a window
Syntax
WROWS([<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(), WVISIBLE(), WONTOP(), WOUTPUT()
Description
The WROWS() function returns the number of rows in 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 WROWS() function returns the number of rows in the currently active window. If no windows are active, the WROWS() function returns a zero. If the window <window-name> is specified and does not exist, or is not active, the WROWS() function returns a zero.
Example
define window browse; from 2,2 to 12,43; title "BROWSE Window"; color n/bg; float; shadow activate window browse ? wrows("browse") 9
Products
Recital Mirage Server, Recital Terminal Developer