SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-157
String Intrinsics
To specify the screen location beside the current menu:
Developers use this construct frequently. A statement called BESIDE is equivalent
to this LINE statement.
#MENUEDITMODE
returns 1 if the invoking window is in edit mode. Otherwise it returns 0. This
intrinsic helps you determine whether the invoking window is in edit mode so that
the script can possibly provide additional editing operations.
#MENUHEADING
returns a string that contains the current user-defined heading for the window that
invoked this script. You invoke a script with Return, Shift-Return, or any of the
function keys in the WINDOW statement KEYS fkey-list.
You can use this intrinsic to repaint the last referenced window with the same
heading. For example:
#MENUHEIGHT
returns a numeric value representing the height of the window that invoked this
script. You invoke a script with Return, Shift-Return, or any of the function keys in
the WINDOW statement KEYS fkey-list.
You can use this intrinsic is to repaint the last referenced window with the same
size. For example:
#MENUINPUT
returns a string containing the user input text in response to a prompt production
input field for the last referenced menu. You reference a menu prompt production
with a Return or Shift-Return key.
LINE #MENULINE, #MENUCOL + #MENUWIDTH;
WINDOW #MENUTASKID MENU HEADING #MENUHEADING;
WINDOW #MENUTASKID MENU SIZE #MENUWIDTH, #MENUHEIGHT;