Invisible (ScreenField property)

From m204wiki
Jump to navigation Jump to search

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.


%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