UnprotectedHighlight (Screen property)

From m204wiki
Revision as of 23:29, 16 November 2012 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set highlight color for unprotected screen fields (Screen class)

The UnprotectedHighlight property sets or gets the current highlight default for unprotected fields in a Screen object. An unprotected field is assigned this highlight unless another highlight value is explicitly specified in the AddField statement that defines the field.

Syntax

%currentHighlight = screen:UnprotectedHighlight screen:UnprotectedHighlight = newHighlight

Syntax terms

%currentHighlight A Highlight enumeration to get the current default for unprotected fields. Valid values (case unimportant) are none, underline, reverse, and blink. The default value is none.
screen A reference to an instance of a Screen object.
newHighlight A Highlight enumeration setting the new default for unprotected fields. Valid values (case unimportant) are none, underline, reverse, and blink. The default value is none.

See also

  • A field's highlight can also be changed by the Highlight method.
  • A protected field's highlight can be changed by the ProtectedHighlight method.