Difference between revisions of "Protected (ScreenField property)"

From m204wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 +
{{Template:ScreenField:Protected subtitle}}
 +
 
This property sets or returns the Protected attribute for a ScreenField. A protected field does not allow user input, and is used for display only. Unprotected fields are used for user input. The Protected attribute is initially set for a field by the [[Screen class#AddField function|AddField method]].
 
This property sets or returns the Protected attribute for a ScreenField. A protected field does not allow user input, and is used for display only. Unprotected fields are used for user input. The Protected attribute is initially set for a field by the [[Screen class#AddField function|AddField method]].
 
==Syntax==
 
==Syntax==
 +
{{Template:ScreenField:Protected syntax}}
 
===Syntax terms===
 
===Syntax terms===
 
<dl>
 
<dl>
Line 8: Line 11:
 
<dd>A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.
 
<dd>A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.
 
</dl>
 
</dl>
 +
==See also==
 +
{{Template:ScreenField:Protected footer}}

Revision as of 20:25, 18 March 2011

Set or return the protected attribute for screenfield (ScreenField class)


This property sets or returns the Protected attribute for a ScreenField. A protected field does not allow user input, and is used for display only. Unprotected fields are used for user input. The Protected attribute is initially set for a field by the AddField method.

Syntax

%currentBoolean = sfield:Protected sfield:Protected = newBoolean

Syntax terms

%sfield
A reference to an instance of a ScreenField object.
bool
A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.

See also