Width (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (match syntax table to syntax template; edits, tags and links)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:ScreenField:Width subtitle}}
{{Template:ScreenField:Width subtitle}}
The <var>Width</var> read-only property returns the width of a <var>Screenfield</var>.  A <var>Screenfield</var> width is set by the <var>[[Screen class#AddField function|AddField]]</var> method.
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.


==Syntax==
==Syntax==
{{Template:ScreenField:Width syntax}}
{{Template:ScreenField:Width syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th>%number</th>
<td>A <var class="product">User Language</var> numeric variable to receive the returned field width.</td></tr>
<td>A <var class="product">User Language</var> numeric variable to receive the returned field width.</td></tr>
<tr><th>sfield</th>
<tr><th>sfield</th>
<td>A reference to an instance of a <var>Screenfield</var> object.</td></tr>
<td>A reference to an instance of a <var>Screenfield</var> object.</td></tr>

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