NewFieldRow (Screen property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (unvar)
mNo edit summary
 
Line 4: Line 4:
==Syntax==
==Syntax==
{{Template:Screen:NewFieldRow syntax}}
{{Template:Screen:NewFieldRow syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%currentNum</th>
<tr><th>%currentNumber</th>
<td>A numeric variable to get the current row number of the next added field. </td></tr>
<td>A numeric variable to get the current row number of the next added field. </td></tr>
<tr><th>screen</th>
<tr><th>screen</th>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
<tr><th>newNum</th>
 
<tr><th>newNumber</th>
<td>A numeric variable or expression to set the new row number of the next added field. </td></tr>
<td>A numeric variable or expression to set the new row number of the next added field. </td></tr>
</table>
</table>

Latest revision as of 22:51, 16 November 2012

Get or set row number for next added field (Screen class)

The NewFieldRow property sets or gets the row number for the next added field. Unless set explicitly, the next added field is adjacent to the last added field. If no fields have been added, the first screen row (1) is returned.

Syntax

%currentNumber = screen:NewFieldRow screen:NewFieldRow = newNumber

Syntax terms

%currentNumber A numeric variable to get the current row number of the next added field.
screen A reference to an instance of a Screen object.
newNumber A numeric variable or expression to set the new row number of the next added field.

See also