Difference between revisions of "Protected (ScreenField property)"

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 5: Line 5:
 
{{Template:ScreenField:Protected syntax}}
 
{{Template:ScreenField:Protected syntax}}
 
===Syntax terms===
 
===Syntax terms===
<dl>
+
<table class="syntaxTable">
<dt>%sfield
+
<tr><th>%sfield</th>
<dd>A reference to an instance of a ScreenField object.
+
<td>A reference to an instance of a ScreenField object. </td></tr>
<dt>bool
+
<tr><th>bool</th>
<dd>A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.
+
<td>A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.</td></tr>
</dl>
+
</table>
 
==See also==
 
==See also==
 
{{Template:ScreenField:Protected footer}}
 
{{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