ProtectedHighlight (Screen property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (unvar)
mNo edit summary
Line 1: Line 1:
{{Template:Screen:ProtectedHighlight subtitle}}
{{Template:Screen:ProtectedHighlight subtitle}}
The <var>ProtectedHighlight</var> property gets or sets the current highlight default for protected fields in a <var>Screen</var> object.  A protected field is assigned this highlight unless another highlight value is explicitly specified in the <var>[[AddField_(Screen_function)|AddField]]</var> statement that defines the field.
The <var>ProtectedHighlight</var> property gets or sets the current highlight default for protected fields in a <var>Screen</var> object.  A protected field is assigned this highlight unless another highlight value is explicitly specified in the <var>[[AddField_(Screen_function)|AddField]]</var> statement that defines the field.
An unprotected field's highlight can be changed by the <var>[[Highlight_(ScreenField_property)|Highlight]]</var> method.


==Syntax==
==Syntax==
Line 17: Line 15:


==See also==
==See also==
<ul><li>An unprotected field's highlight can be changed by the <var>Highlight</var> method.</ul>
<ul><li>An unprotected field's highlight can be changed by the <var>[[Highlight_(ScreenField_property)|Highlight]]</var> method.</ul>
{{Template:Screen:ProtectedHighlight footer}}
{{Template:Screen:ProtectedHighlight footer}}

Revision as of 10:59, 28 June 2011

Set highlight color for protected screen fields (Screen class)

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

Syntax

%currentHighlight = screen:ProtectedHighlight screen:ProtectedHighlight = newHighlight

Syntax terms

%currentHighlight A Highlight enumeration to get the current default highlight for protected 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 defalt for a protected field's highlight. Valid values (case unimportant) are none, underline, reverse, and blink. The default value is none.

See also

  • An unprotected field's highlight can be changed by the Highlight method.