Modified (ScreenField property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (match syntax table to syntax template; edits, tags and links) |
||
Line 1: | Line 1: | ||
{{Template:ScreenField:Modified subtitle}} | {{Template:ScreenField:Modified subtitle}} | ||
The <var>Modified</var> property sets or returns the <var>Modified</var> attribute for a <var>ScreenField</var>. The <var>Modified</var> attribute is initially set for a field by the <var>[[Screen class#AddField function|AddField]]</var> method, and is always reset by the <var>[[Screen class#Read function|Read]]</var> method. | |||
==Syntax== | ==Syntax== | ||
{{Template:ScreenField:Modified syntax}} | {{Template:ScreenField:Modified syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th> | <tr><th>%currentBoolean</th> | ||
<td>A Boolean enumeration. Valid values are True and False (default). </td></tr> | <td>A <var>[[Boolean_enumeration|Boolean enumeration]]</var> to get the current value of the the <var>Modified</var> attribute applicable to <var class="term">sfield</var>. Valid values are <code>True</code> and <code>False</code> (default).</td></tr> | ||
<tr><th> | <tr><th>sfield</th> | ||
<td>A reference to an instance of a ScreenField object.</td></tr> | <td>A reference to an instance of a <var>ScreenField</var> object.</td></tr> | ||
<tr><th>newBoolean</th> | |||
<td>A <var>Boolean enumeration</var> to set the new value for the <var>Modified</var> attribute applicable to <var class="term">sfield</var>. Valid values are <code>True</code> and <code>False</code> (default)</td></tr> | |||
</table> | </table> | ||
==See also== | ==See also== | ||
{{Template:ScreenField:Modified footer}} | {{Template:ScreenField:Modified footer}} |
Revision as of 04:10, 1 July 2011
Set or return the modified attribute for screenfield (ScreenField class)
The Modified property sets or returns the Modified attribute for a ScreenField. The Modified attribute is initially set for a field by the AddField method, and is always reset by the Read method.
Syntax
%currentBoolean = sfield:Modified sfield:Modified = newBoolean
Syntax terms
%currentBoolean | A Boolean enumeration to get the current value of the the Modified attribute applicable to sfield. Valid values are True and False (default). |
---|---|
sfield | A reference to an instance of a ScreenField object. |
newBoolean | A Boolean enumeration to set the new value for the Modified attribute applicable to sfield. Valid values are True and False (default) |