Row (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
mNo edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
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]].
{{Template:ScreenField:Row subtitle}}
The <var>Row</var> [[Classes and Objects#readWrite|readOnly]] property returns the row number of a <var>ScreenField</var>. The row number is initially set for a field by the <var>[[AddField_(Screen_function)|AddField]]</var> method.


  %num = %sfield:Row
==Syntax==
{{Template:ScreenField:Row syntax}}


; Row syntax
===Syntax terms===
<table class="syntaxTable">
<tr><th>%number</th>
<td>A <var class="product">User Language</var> numeric variable to receive the returned row number.</td></tr>


; num
<tr><th>sfield</th>
: A User Language numeric variable to contain the returned row number.
<td>A reference to an instance of a <var>ScreenField</var> object.</td></tr>
</table>


; %sfield
==Usage notes==
: A reference to an instance of a ScreenField object.
<ul>
<li>The first row in a screen is row 1.


; Usage Notes
<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.
==See also==
 
{{Template:ScreenField:Row footer}}
If a screenfield occupies more than one row, the number of the first row is returned.

Latest revision as of 19:52, 20 November 2012

Return the row number of a screenfield (ScreenField class)

The Row readOnly 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

%number 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