UnprotectedColor (Screen property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 5: Line 5:
{{Template:Screen:UnprotectedColor syntax}}
{{Template:Screen:UnprotectedColor syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>fieldcolor  
<tr><th>fieldcolor</th>
<dd>A Fieldcolor enumeration. Valid values (case unimportant) are turquoise, green, blue, red, white, yellow, and pink. The default is green.
<td>A Fieldcolor enumeration. Valid values (case unimportant) are turquoise, green, blue, red, white, yellow, and pink. The default is green. </td></tr>
<dt>%screen
<tr><th>%screen</th>
<dd>A reference to an instance of a Screen object.
<td>A reference to an instance of a Screen object.</td></tr>
</dl>
</table>
==See also==
==See also==
{{Template:Screen:UnprotectedColor footer}}
{{Template:Screen:UnprotectedColor footer}}

Revision as of 19:50, 18 March 2011

Set color for unprotected screen fields (Screen class)


This property sets or gets the current default for the color of unprotected fields in a Screen object. An unprotected field is assigned this color unless another color value is explicitly specified in the AddField statement that defines the field. A field's color can also be changed by the Screenfield class Color method.

Syntax

%currentFieldColor = screen:UnprotectedColor screen:UnprotectedColor = newFieldColor

Syntax terms

fieldcolor A Fieldcolor enumeration. Valid values (case unimportant) are turquoise, green, blue, red, white, yellow, and pink. The default is green.
%screen A reference to an instance of a Screen object.

See also