Invisible (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
 
Line 1: Line 1:
{{Template:ScreenField:Invisible subtitle}}
{{Template:ScreenField:Invisible subtitle}}
The <var>Invisible</var> property sets or gets the Invisible attribute for a <var>ScreenField</var>. If this value is <code>True</code>, any data in the field will not be displayed on the terminal.  This is typically used for password prompts or other private data.
The <var>Invisible</var> property sets or gets the <var>Invisible</var> attribute for a <var>ScreenField</var>. If this value is <code>True</code>, any data in the field will not be displayed on the terminal.  This is typically used for password prompts or other private data.


This attribute is initially set for a field by the <var>[[Screen class#AddField function|AddField]]</var>) method. If <code>False</code>, the screenfield data is displayed on the terminal.
This attribute is initially set for a field by the <var>[[AddField (Screen function)|AddField]]</var> method. If <code>False</code>, the screenfield data is displayed on the terminal.


==Syntax==
==Syntax==
Line 9: Line 9:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%currentBoolean</th>
<tr><th>%currentBoolean</th>
<td>A <var>[[Boolean_enumeration|Boolean enumeration]]</var> to get the current value of the <var>Invisible</var> attribute. Valid values are <code>True</code> and <code>False</code> (the default).</td></tr>
<td>A <var>[[Boolean_enumeration|Boolean enumeration]]</var> to get the current value of the <var>Invisible</var> property. Valid values are <var>True</var> and <var>False</var> (the default).</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>
<tr><th>newBoolean</th>
<tr><th>newBoolean</th>
<td>A <var>Boolean enumeration</var> to set the new value of the <var>Invisible</var> attribute. Valid values are <code>True</code> and <code>False</code> (the default).</td></tr>
<td>A <var>Boolean enumeration</var> to set the new value of the <var>Invisible</var> attribute. Valid values are <var>True</var> and <var>False</var> (the default).</td></tr>
</table>
</table>


==Usage notes==
==Usage notes==
<ul><li>The <var>Invisible</var> attribute does not encrypt or suppress transmission of data over the network. It is intended to minimize theft of private data at terminals situated in nonprivate areas.
<ul>
<li>The <var>Invisible</var> attribute does not encrypt or suppress transmission of data over the network. It is intended to minimize theft of private data at terminals situated in nonprivate areas.
 
<li>The <var>Invisible</var> attribute can be applied to protected or to non-protected fields.
<li>The <var>Invisible</var> attribute can be applied to protected or to non-protected fields.
</ul>
</ul>

Latest revision as of 19:33, 20 November 2012

Set or return the invisible attribute for screenfield (ScreenField class)

The Invisible property sets or gets the Invisible attribute for a ScreenField. If this value is True, any data in the field will not be displayed on the terminal. This is typically used for password prompts or other private data.

This attribute is initially set for a field by the AddField method. If False, the screenfield data is displayed on the terminal.

Syntax

%currentBoolean = sfield:Invisible sfield:Invisible = newBoolean

Syntax terms

%currentBoolean A Boolean enumeration to get the current value of the Invisible property. Valid values are True and False (the default).
sfield A reference to an instance of a ScreenField object.
newBoolean A Boolean enumeration to set the new value of the Invisible attribute. Valid values are True and False (the default).

Usage notes

  • The Invisible attribute does not encrypt or suppress transmission of data over the network. It is intended to minimize theft of private data at terminals situated in nonprivate areas.
  • The Invisible attribute can be applied to protected or to non-protected fields.

See also