UnprotectedHighlight (Screen 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
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:Screen:UnprotectedHighlight subtitle}}
{{Template:Screen:UnprotectedHighlight subtitle}}
The <var>UnprotectedHighlight</var> property sets or gets the current highlight default for unprotected fields in a <var>Screen</var> object. An unprotected 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>UnprotectedHighlight</var> property sets or gets the current highlight default for unprotected fields in a <var>Screen</var> object. An unprotected 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.
A field's highlight can also be changed by the <var>[[Highlight_(ScreenField_property)|Highlight]]</var> method.


==Syntax==
==Syntax==
{{Template:Screen:UnprotectedHighlight syntax}}
{{Template:Screen:UnprotectedHighlight syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><var>CurrentHighlight</var></th>
<tr><th>%currentHighlight</th>
<td>A <var>[[Highlight_enumeration|Highlight enumeration]]</var> to get the current default for unprotected fields.  Valid values (case unimportant) are <code>none</code>, <code>underline</code>, <code>reverse</code>, and <code>blink</code>. The default value is <code>none</code>.</td></tr>
<td>A <var>[[Highlight_enumeration|Highlight enumeration]]</var> to get the current default for unprotected fields.  Valid values (case unimportant) are <code>none</code>, <code>underline</code>, <code>reverse</code>, and <code>blink</code>. The default value is <code>none</code>.</td></tr>
<tr><th><var>screen</var></th>
 
<tr><th>screen</th>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
<tr><th><var>NewHighlight</var></th>
 
<tr><th>newHighlight</th>
<td>A <var>Highlight</var> enumeration setting the new default for unprotected fields.  Valid values (case unimportant) are <code>none</code>, <code>underline</code>, <code>reverse</code>, and <code>blink</code>. The default value is <code>none</code>.</td></tr>
<td>A <var>Highlight</var> enumeration setting the new default for unprotected fields.  Valid values (case unimportant) are <code>none</code>, <code>underline</code>, <code>reverse</code>, and <code>blink</code>. The default value is <code>none</code>.</td></tr>
</table>
</table>


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

Latest revision as of 23:29, 16 November 2012

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.