SeeView Manual
SeeView Language Elements
HP NonStop SeeView Manual—526355-004
5-35
Direct Field Updates
The Person dialog box shown in Figure 5-14 is protected while the menu of FIRST
name values is displayed. This presents users with what appears to be a modal screen
because they cannot access the parent dialog box. However, the script is in fact
modeless because it does not require an ACCEPT FKEYWAIT statement.
When either Return or F16 is pressed in the menu of FIRST names, shown in
Figure 5-14:
•
?PROC InsertText is called. If Return was pressed, the procedure inserts the
selected FIRST name (contained in #menutext) into the First name field located at
FieldLine and FieldCol. If F16 was pressed, no value is inserted.
•
The FIRST name menu is then erased from the screen by using a CLEARW
statement, the parent Person menu is made accessible once again by using the
DISPLAY VIDEOTEMP ( ) option, and the cursor is positioned appropriately, as
shown in Figure 5-15.
Repeatedly pressing Return with the cursor in the Person dialog box causes the
Person fields to be updated, as shown in Figure 5-16 on page 5-35.
Figure 5-14. Output When Return Is Pressed in the First Name Field
Figure 5-15. Output When Return Is Pressed in the FIRST Name Menu
Figure 5-16. Output When Return Is Repeatedly Pressed