Columns (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 3 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===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th>%number</th>
<td>A numeric variable to contain the returned number of columns. </td></tr>
<td>A numeric variable to contain the returned number of columns.</td></tr>
<tr><th>%screen</th>
 
<td>A reference to an instance of a Screen object.</td></tr>
<tr><th>screen</th>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
</table>
</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