Rows (Screen function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax terms) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Screen:Rows subtitle}} | {{Template:Screen:Rows subtitle}} | ||
The <var>Rows</var> [[Classes and Objects#readWrite|readOnly]] property returns the number of rows in the current screen. This number corresponds to the row value returned by a <var class="product">Model 204</var> <code>VIEW MODEL</code> command. | |||
==Syntax== | ==Syntax== | ||
{{Template:Screen:Rows syntax}} | {{Template:Screen:Rows syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%number</th> | ||
<td>A numeric variable to contain the number of screen rows. </td></tr> | <td>A numeric variable to contain the number of screen rows.</td></tr> | ||
<tr><th> | <tr><th>screen</th> | ||
<td>A reference to an instance of a Screen object.</td></tr> | <td>A reference to an instance of a <var>Screen</var> object.</td></tr> | ||
</table> | </table> | ||
==Examples== | |||
For an example using the <var>Rows</var> method, see [[Screen object sample code|"Screen object sample code"]]. | |||
==See also== | ==See also== | ||
{{Template:Screen:Rows footer}} | {{Template:Screen:Rows footer}} |
Latest revision as of 17:07, 19 November 2012
Return the number of rows in the current screen (Screen class)
The Rows readOnly property returns the number of rows in the current screen. This number corresponds to the row value returned by a Model 204 VIEW MODEL
command.
Syntax
%number = screen:Rows
Syntax terms
%number | A numeric variable to contain the number of screen rows. |
---|---|
screen | A reference to an instance of a Screen object. |
Examples
For an example using the Rows method, see "Screen object sample code".