Columns (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Screen:Columns subtitle}}
{{Template:Screen:Columns subtitle}}
The <var>Columns</var> [[Classes and Objects#readWrite|readOnly]] property returns the number of columns in the current screen. This number corresponds to the column value returned by a <var class="product">Model 204</var> <code>VIEW MODEL</code> command.


This read-only property returns the number of columns in the current screen. This number corresponds to the column value returned by a Model 204 VIEW MODEL
command.
==Syntax==
==Syntax==
{{Template:Screen:Columns syntax}}
{{Template:Screen:Columns syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>%num
<tr><th>%number</th>
<dd>A numeric variable to contain the returned number of columns.
<td>A numeric variable to contain the returned number of columns.</td></tr>
<dt>%screen  
 
<dd>A reference to an instance of a Screen object.
<tr><th>screen</th>
</dl>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
</table>
 
==See also==
==See also==
{{Template:Screen:Columns footer}}
{{Template:Screen:Columns footer}}

Latest revision as of 22:31, 16 November 2012

Return the number of columns in the current screen (Screen class)

The Columns readOnly property returns the number of columns in the current screen. This number corresponds to the column value returned by a Model 204 VIEW MODEL command.

Syntax

%number = screen:Columns

Syntax terms

%number A numeric variable to contain the returned number of columns.
screen A reference to an instance of a Screen object.

See also