Read (Screen function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 2: | Line 2: | ||
This callable function does the actual write of the screen to the "terminal," and it invokes a Model 204 wait while the user responds to the displayed screen. It then reads from the terminal the subsequent user response and updates the values of any modified ScreenField objects. | This callable function does the actual write of the screen to the "terminal," and it invokes a Model 204 wait while the user responds to the displayed screen. It then reads from the terminal the subsequent user response and updates the values of any modified ScreenField objects. | ||
==Syntax== | |||
===Syntax terms=== | |||
<dl> | |||
<dt>%key | |||
<dd>A declared actionKey enumeration set to the identifier of the key that activated the reading of the screen. Valid values (case unimportant) are Enter and pf1, pf2, and so on through pf24. | |||
<dt>%screen | |||
<dd>A reference to an instance of a Screen object. | |||
</dl> | |||
==Usage Notes== | |||
The Modified property is reset for all non-protected | The Modified property is reset for all non-protected |
Revision as of 19:46, 18 March 2011
Write screen to display and return response (Screen class)
This callable function does the actual write of the screen to the "terminal," and it invokes a Model 204 wait while the user responds to the displayed screen. It then reads from the terminal the subsequent user response and updates the values of any modified ScreenField objects.
Syntax
Syntax terms
- %key
- A declared actionKey enumeration set to the identifier of the key that activated the reading of the screen. Valid values (case unimportant) are Enter and pf1, pf2, and so on through pf24.
- %screen
- A reference to an instance of a Screen object.
Usage Notes
The Modified property is reset for all non-protected ScreenFields after the Read method is invoked. If a particular ScreenField value has been modified by the user, the Modified property for that field is set to True. Otherwise, the Modified property is set to False.
For an example using the Read method, see Screen Object Sample Code.