NewFieldColumn (Screen property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template; edits and tags)
Line 1: Line 1:
{{Template:Screen:NewFieldColumn subtitle}}
{{Template:Screen:NewFieldColumn subtitle}}
The <var>NewFieldColumn</var> property sets or gets the column 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 column (1) is returned.


This property sets or gets the column 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 column (1) is returned.
==Syntax==
==Syntax==
{{Template:Screen:NewFieldColumn syntax}}
{{Template:Screen:NewFieldColumn syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th><var>%currentNum</var></th>
<td>A numeric variable or expression for the column number of the next added field. </td></tr>
<td>A numeric variable to get the current column number of the next added field. </td></tr>
<tr><th>%screen</th>
<tr><th><var>screen</var></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><tr>
<th><var>newNum</var></th>
<td>A numeric variable or expression to set the new column number of the next added field. </td></tr>
</table>
</table>
==See also==
==See also==
{{Template:Screen:NewFieldColumn footer}}
{{Template:Screen:NewFieldColumn footer}}

Revision as of 00:15, 26 June 2011

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

The NewFieldColumn property sets or gets the column 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 column (1) is returned.

Syntax

%currentNumber = screen:NewFieldColumn screen:NewFieldColumn = newNumber

Syntax terms

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

See also