SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-128
WINDOW
OFFSET X-offset-exp, Y-offset-exp
offsets the window cache viewing area once the initial cache display position is
established. You can use the CACHE option to establish the initial cache display
position and the OFFSET option to positively or negatively skew this initial position.
You can use a negative Y-offset-exp to perform centering. In this example, h is
the height of the window:
OFFSET 0,-h/2
OPEN
specifies that you can access the window object by moving the cursor to some part
of the window, entering text, and pressing Return.
CLOSED
indicates that the window is drawn only. Once displayed, its existence is unknown
to the SeeView program.
PAGES
lets you page and scroll the window text.
NOPAGES
prevents you from paging or scrolling a window’s text. Use this option with the
MENU option to restrict features that might bother inexperienced users.
PRODUCTION [ default-production ] [ , shift-production ]
specifies the default production and shift production for a window. Use the KEYS
option to specify a list of keys that cause the default production to be executed.
Specifying KEYS SRETURN causes the shift production to be executed when the
Shift-Return key is pressed.
The PRODUCTION option provides a way to specify productions for windows that
are not defined as a menu.
default-production
specifies a string expression containing SeeView statements that are executed
when you press any of the function keys in the KEYS option fkey-list when
the cursor is in the corresponding KEYS option BODY or SILL area of the
window. If the Return key is to invoke the default production, you must include
the Return key in the KEYS option specification. For example:
KEYS BODY RETURNKEY, F5, F6;.