Row (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template; edits, tags and links)
Line 1: Line 1:
{{Template:ScreenField:Row subtitle}}
{{Template:ScreenField:Row subtitle}}
The <var>Row</var> read-only property returns the row number of a <var>ScreenField</var>.  The row number is initially set for a field by the <var>[[Screen class#AddField function|AddField]]</var> method.


This read-only property returns the row number of a screenfield. The row number is initially set for a field by the [[Screen class#AddField function|AddField method]].
==Syntax==
==Syntax==
{{Template:ScreenField:Row syntax}}
{{Template:ScreenField:Row syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>num</th>
<tr><th>%num</th>
<td>A User Language numeric variable to contain the returned row number. </td></tr>
<td>A User Language numeric variable to receive the returned row number.</td></tr>
<tr><th>%sfield</th>
<tr><th>sfield</th>
<td>A reference to an instance of a ScreenField object.</td></tr>
<td>A reference to an instance of a <var>ScreenField</var> object.</td></tr>
</table>
</table>


==Usage notes==
==Usage notes==
<ul><li>The first row in a screen is row 1.
<li>If a <var>ScreenField</var> occupies more than one row, the number of the first row is returned.
</ul>


The first row in a screen is row 1.
If a screenfield occupies more than one row, the number of the first row is returned.
==See also==
==See also==
{{Template:ScreenField:Row footer}}
{{Template:ScreenField:Row footer}}

Revision as of 04:27, 1 July 2011

Return the row number of a screenfield (ScreenField class)

The Row read-only property returns the row number of a ScreenField. The row number is initially set for a field by the AddField method.

Syntax

%number = sfield:Row

Syntax terms

%num A User Language numeric variable to receive the returned row number.
sfield A reference to an instance of a ScreenField object.

Usage notes

  • The first row in a screen is row 1.
  • If a ScreenField occupies more than one row, the number of the first row is returned.

See also