Example 1
The following example shows how to specify the WINDOW keyword to define a window.
When the WINDOW1 record is displayed, the upper-left corner of the window border is on line 4 position 20 of the display. The lower-right corner of the border is located 10 lines lower than the upper border and 33 positions to the right of the left border.
Lower border line = upper border line + window-lines + 1
Right border position = left border position + window-positions + 3
The FIELD1 field starts 2 lines lower than the upper border and 11 positions (the ending attribute byte for the border character has been taken into account) to the right of the left border character (line 6, position 31 on the display).
Actual field line = upper border line + line number of field
Actual field position = left border position + position of field + 1
The FIELD2 field starts 6 lines lower than the upper border and 11 positions to the right of the left border (line 10, position 31 on the display).
【中文翻译】 固定弹窗 对应的 指定在第四行,第20位弹窗 9*30 大小的弹窗对应的字段行数则是在弹窗里面的的行数,比如 5.10,对应的在弹窗第四行开始后面的第五行开始,也就是对应整个DSP的第九行
If the cursor is moved outside of the window, the function keys will remain active.
When the WINDOW 2 record is displayed, the upper-left corner of the window border is at the cursor position during run time. The message line does not appear inside the window, it appears at the bottom of the display.
If the cursor is moved outside of the window, the function keys are inactive. If the user presses a function key, they will receive a beep and the cursor will be place within the window.
【中文翻译】 就是指对应DSP 游标对应弹窗 ,一般是在对应的字段需要给到User做解释的时候,按F4基础上做WINDOW弹窗,一般结合SUBFILE 做select
具体可以看下一节




