Row (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Template:ScreenField:Row subtitle}}
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]].
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}}
===Syntax terms===
===Syntax terms===
<dl>
<dl>
Line 9: Line 12:
</dl>
</dl>


==Usage Notes==
==Usage notes==


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

Revision as of 20:26, 18 March 2011

Return the row number of a screenfield (ScreenField class)


This 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 contain 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