Width (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 width of a screenfield. A Screenfield width is set by the [[Screen class#AddField function|AddField method]].
{{Template:ScreenField:Width subtitle}}
The <var>Width</var> [[Classes and Objects#readWrite|readOnly]] property returns the width of a <var>Screenfield</var>. A <var>Screenfield</var> width is set by the <var>[[AddField_(Screen_function)|AddField]]</var> method.


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


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


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


; %sfield
==See also==
: A reference to an instance of a ScreenField object.
{{Template:ScreenField:Width footer}}

Latest revision as of 20:10, 20 November 2012

Return the width of a screenfield (ScreenField class)

The Width readOnly property returns the width of a Screenfield. A Screenfield width is set by the AddField method.

Syntax

%number = sfield:Width

Syntax terms

%number A User Language numeric variable to receive the returned field width.
sfield A reference to an instance of a Screenfield object.

See also