SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-159
String Intrinsics
the WINDOW statement KEYS fkey-list. Screen line numbers range from 1
through 24.
You can use this intrinsic to calculate screen locations relative to the most recently
referenced window or, for example, to redisplay the window at the same location
as the current window.
#MENUOBJECT
returns a string containing the window attributes of the last referenced window that
invoked the script. You invoke a script with Return, Shift-Return, or any of the
function keys in the WINDOW statement KEYS fkey-list. Attributes are
returned, such as MENU, EDIT, GLASS, SILL, and so on.
#MENUPRODUCTION
returns a string containing the default production 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. The default production is the script
production that is associated with a window by using the MENU or PRODUCTION
options of the WINDOW statement.
If a window does not have a default production associated with it, the intrinsic
#MENUPRODUCTION equals the null string “”. For additional information
regarding productions, see the WINDOW statement MENU and PRODUCTION
options.
You can use this intrinsic to reassert the same default production when repainting
the current window. For example:
#MENUPRODUCTION2
returns a string containing the shift production 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. The shift production is the production
script that is executed when you press Shift-Return.
A window may not have a shift production associated with it, in which case the
intrinsic #MENUPRODUCTION2 equals the null string “”. See the WINDOW
statement MENU and PRODUCTION options for additional information regarding
shift productions.
LINE #MENULINE, #MENUCOL;
WINDOW #MENUTASKID MENU SIZE #MENUWIDTH,#MENUHEIGHT;
WINDOW #MENUTASKID MENU #MENUPRODUCTION
SIZE #MENUWIDHT,#MENUHEIGHT;