%Y |
Alternatively, you may specify:
%Y= color-code
[color-code]
[color-code] |
The terminal command %Y
is used to control
the display of the Natural PF-key lines.
Note:
On graphical user interfaces, this command is ignored.
Application Programming Interface: USR1005N
.
This document covers the following topics:
Command | Function |
---|---|
%YA
|
All-line display. Displays both function-key lines. |
%YH
|
Half display. Displays only one function-key line; for
normal tabular display mode (%YN ), this is the
line with the function-key names; for the other two display modes (%YS and
%YP ),
this is the upper line to be displayed.
|
Command | Function |
---|---|
%Y=color-code(s)
|
Displays the function-key lines in the specified colors.
The color-codes you can specify are the same as with
the session parameter CD ).
You can specify up to three color-codes: the first color-code refers to the first function-key line (the one displaying the function-key numbers), the second color-code refers to the second function-key line (the one displaying the function-key names), and the third color-code refers to the background of both lines. For example, Note: |
Command | Function |
---|---|
%YC
|
This command makes the function-key lines
cursor-sensitive. This means that they react like an action bar on a PC screen:
the user just moves the cursor to the desired function-key number or name
displayed and presses ENTER, and Natural will react as if the
corresponding function key had been pressed.
Enter By using |
To activate the display of the function-key lines in a program, you
use the session parameter KD=ON
.
For further information, see Control of Function-Key Lines - Terminal Command %Y (in the Programming Guide).