The following sample panel uses default field characters.
%-------------------- Electronic Memo -------------------------- +SELECT OPTION%===>_SELECT+ % 1+Create a Memo % 2+Send a memo % 3+Display incoming memo % 4+Delete an incoming memo % 5+Exit from this function
In this sample panel, all fields preceded by % display in high-intensity and are protected from data entry. All fields preceded by + display in low-intensity and are also protected. The only field available for input is on the third line, preceded by an underscore (_). The word SELECT identifies the NCL user variable that receives the data you enter in this field once the Enter key is pressed.
By default, the cursor is placed at the SELECT field, as this is the first (and only) field requiring input; no other cursor position has been specified.
Note: The ampersand (&) normally associated with a variable is omitted here.
Assume that our sample panel is called PANEL1. The NCL procedure to display this panel is:
&PANEL PANEL1
When displayed, field characters are removed and the required terminal attribute characters are substituted.
The following sample panel shows how the panel defined in PANEL1 appears, when displayed.
Note: In all figures, the underline symbol (_) designates the cursor location.
-------------------- Electronic Memo -------------------------- SELECT OPTION ===>_ 1 Create a Memo 2 Send a memo 3 Display incoming memo 4 Delete an incoming memo 5 Exit from this function
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |