Programmer's Guide to Creating User Interfaces
Table of Contents
Index
Chapter 4: Adis
4.1 Overview
4.1.1 Enhanced ACCEPT/DISPLAY
4.1.2 Screen Section
4.1.3 Configuration
4.2 Single Field ACCEPT and DISPLAY Statements
4.2.1 Single Field ACCEPT Statements
4.2.1.1 Alphanumeric Fields
4.2.1.2 Numeric and Numeric-edited Fields
4.2.1.3 Fixed-format Data Entry
4.2.1.4 Free-format Data Entry
4.2.1.5 RM Style Data Entry
4.2.1.6 General Data Entry
4.2.2 Single Field DISPLAY Statements
4.2.2.1 Format of Displayed Data
4.2.2.2 Control Sequences in Displayed Data
4.2.2.3 Displaying Highlighted Text
4.3 Accepting and Displaying Group Items
4.3.1 Accepting Into Group Items
4.3.2 Displaying Group Items
4.3.3 The MODE IS BLOCK Clause
4.4 Screen Section ACCEPT and DISPLAY Statements
4.5 The CURSOR IS Clause
4.6 Large Screens
4.7 CONTROL Clause in ACCEPT/DISPLAY Statements
4.8 Adis Configuration
4.8..1 Altering the Adis Configuration from a Program
4.8..2 Adis Run-time Configuration
4.9 Keyboard Handling Via Adis
4.9.1 Types of Keys on the Keyboard
4.9.1.1 Function Keys
4.9.1.2 Data Keys
4.9.1.3 Shift Keys
4.9.1.4 Lock Keys
4.9.2 Function Key Handling
4.9.2.1 The CRT STATUS Clause
4.9.2.2 Normal Termination of an ACCEPT Operation
4.9.2.3 Using the User Function Keys
4.9.2.4 Using the Adis Keys
4.9.2.5 Defining a Key in Both the User and Adis Key Lists
4.9.2.6 Key Configuration on UNIX
4.9.3 Data Key Handling
4.9.3.1 Controlling the Data Keys
4.9.3.2 Detecting Data Keys Set Up to Act as Function Keys
4.9.4 Shift Key Handling
4.9.4.1 Determining Available Shift Keys
4.9.4.2 Detecting the Current State of the Shift Keys
4.9.4.3 Enabling or Disabling Shift Keys to Terminate an ACCEPT
4.9.5 Lock Key Handling
4.9.5.1 Determining Available Lock Keys
4.9.5.2 Detecting the Current State of the Lock Keys
4.9.5.3 Enabling or Disabling Lock Keys to Terminate an ACCEPT
4.10 Get Single Character Routine
4.11 Example Program