Invisible (ScreenField property): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:ScreenField:Invisible subtitle}} | |||
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>[[AddField (Screen function)|AddField]]</var> method. If <code>False</code>, the screenfield data is displayed on the terminal. | |||
==Syntax== | ==Syntax== | ||
{{Template:ScreenField:Invisible syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
< | <table class="syntaxTable"> | ||
< | <tr><th>%currentBoolean</th> | ||
< | <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> | ||
</ | <td>A reference to an instance of a <var>ScreenField</var> object.</td></tr> | ||
<tr><th>newBoolean</th> | |||
<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> | |||
==Usage | ==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. | |||
The Invisible attribute | <li>The <var>Invisible</var> attribute can be applied to protected or to non-protected fields. | ||
</ul> | |||
==See also== | |||
{{Template:ScreenField:Invisible footer}} |
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.