HPlogo HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 INTRODUCTION TO FORMS DESIGN

GLOBALS MENU

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Certain characteristics of the entire forms file are defined as global specifications and specified on the Globals Menu, illustrated in Figure 3-22 “Globals Menu” The global specifications include the default screen enhancements for fields and errors, the first form to be executed, where the message "window" line appears on the form, and provides for user-defined labels for the function keys. These specifications apply to the entire forms file rather than to individual forms or to fields within the forms.

FORMSPEC supplies default values for these characteristics and, unless you want to change the defaults, you need never be concerned with global specifications. If, however, you want to change these specifications, you enter G in the Main Menu selection box, and do not specify a form name or a field name. The Globals Menu is then displayed so you can change the default global specifications. If you indicated the data capture devices on the Terminal/Language Selection Menu, the following message will appear at the bottom of the Globals Menu:

Press NEXT to select HP 3075/6 device specifications

(The Data Capture Device Specifications Menu is described later in this section).

Figure 3-22 Globals Menu

Globals Menu

When you press ENTER, FORMSPEC checks and records the global values (default or specified) and then displays the next menu. The next menu is the Save Field Menu. To get to the first Form Menu, press NEXT FORM.

Fields

Head Form Name

Enter the name of the first form you want displayed when the forms file is executed. If you leave this field blank, the first form in the forms file will be the first form displayed. Note that adding forms to the forms file may change the first form. When the forms file is compiled, this name must identify an existing form. If you enter the name using lowercase letters, FORMSPEC upshifts the letters to uppercase and then looks for a matching form name.

Default First form in USASCII collating sequence in the forms file. ($HEAD)

Default Display Enhancement

When defining a form, you can specify individual display enhancements for any field on the Field Menu. If you do not specify such enhancements on the Field Menu, FORMSPEC assigns default field enhancements. If you do not want to use these default display enhancements, you can specify your own default enhancements here. Enter one or more of the display enhancement codes (B, H, I, S, U, and 1 - 8) in any combination, or you can enter NONE if you do not want the fields to be enhanced at all. The enhancement codes can be entered in any combination, in any order. For example, for blinking, half bright, underlined, you can specify BHU, HUB, UBH, and so forth. If you want to remove all display enhancements, enter NONE. The data capture devices do not support display enhancements.

Default Half bright, Inverse video (HI).

Error Enhancement

When a user entering data on a form makes an error, the field with the error is highlighted on the form by special display enhancements. You can change the default error enhancement by entering one or more of the display enhancement codes (B, H, I, S, U, and 1 - 8) in any combination, or you can enter NONE if you do not want fields with errors to be enhanced at all. For example, if you want fields with errors to be displayed in half bright, underlined, and to blink, enter BHU.

Default Inverse video, full bright, Underline (IU).

Window Display Line

You can specify the line of the terminal screen to be reserved for error and status messages. Screen lines are numbered from 1 (top) through 24 (bottom). You may enter 0 (zero) if you do not want a window. Note that in this case no error or status messages are displayed on the form during execution. Any fields in which errors are detected will still be enhanced when there is no window line, unless you specify NONE for error enhancements. If function key labeling on HP 264X terminals is in effect and a window line of 23 or 24 is chosen, line 22 is actually used.

Default Bottom line (24)

Window Enhancement

The window line is normally enhanced with inverse video, half bright. If you want a different enhancement for this line, you must specify it in this box. You may enter any of the standard enhancement codes (I, H, U, B, S, and 1 - 8) in any combination, or you can specify no enhancements by entering NONE.

Default Inverse video, Half bright (HI).

Define Function Key Labels

To define function key labels, enter Y to obtain the Global Function Key Labels Menu. If you wish to retain the default global labels, leave this box blank. When function key labels have been defined, FORMSPEC will place an X in the Define Function Key Labels field. Once function key labels have been defined, the default labels can be reset by entering an N in this field. If you specify a Y in this field, the Global Function Key Labels Menu is displayed, as shown in Figure 3-23 “Global Function Key Labels Menu”The data capture devices do not support function key labeling.

Define Data Conversions

To use the ARB feature, you must specify default conversions for screen data to application data and vice versa. Type Y in this field to reach the Data Type Conversions Menu, shown in Figure 3-27 “Data Type Conversion Menu” The default data type conversions must be set up before you can create an ARB for a form.

Feedback to webmaster