UnprotectedColor (Screen property): Difference between revisions
Jump to navigation
Jump to search
m 1 revision |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Template:Screen:UnprotectedColor subtitle}} | {{Template:Screen:UnprotectedColor subtitle}} | ||
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 [[ | 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 [[Color_(ScreenField_property)|Color]] method. | ||
==Syntax== | ==Syntax== | ||
{{Template:Screen:UnprotectedColor syntax}} | {{Template:Screen:UnprotectedColor syntax}} | ||
Revision as of 21:27, 7 April 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 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. |