Protected (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
mNo edit summary
Line 1: Line 1:
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==
  %sfield:Protected = bool
===Syntax terms===
  bool = %sfield:Protected
<dl>
 
<dt>%sfield
; Protected syntax
<dd>A reference to an instance of a ScreenField object.
 
<dt>bool
; %sfield  
<dd>A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.
: A reference to an instance of a ScreenField object.
</dl>
 
; bool  
: A Boolean enumeration that indicates whether the field is protected. Valid values are True (default) and False.

Revision as of 20:25, 18 March 2011

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

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.