DECintact Designing Forms with the Terminal Forms Editor

*HyperReader

  CONTENTS

  Title Page

  Copyright Page

  Information Map

  Information Table

  Preface

  1      Introducing the Terminal Forms Editor (TFE)

  1.1     Entering TFE

  1.2     Summary of TFE Commands

  1.3     Leaving TFE

  2      Creating a Form

  2.1     Creating or Identifying a Forms Library
    2.1.1      Creating a Forms Library
    2.1.2      Specifying an Existing Forms Library
      2.1.2.1      Using the SET Command
      2.1.2.2      Using the INTACT$FORMS_LIBRARY Logical Name
      2.1.2.3      Using the Default Forms Library

  2.2     Naming the Form

  2.3     Assigning Form Attributes

  2.4     Painting the Form

  2.5     Assigning Field Attributes

  2.6     Assigning Field Access Order

  2.7     Saving or Quitting the Form
    2.7.1      Saving the Form
    2.7.2      Exiting from the Form Command Menu Without Saving the Form

  2.8     Listing Form Information

  3      Assigning Form-wide Attributes

  3.1     Entering the Form-wide Attributes Menu

  3.2     Assigning Attributes
    3.2.1      Form Title
    3.2.2      Timeout Interval
    3.2.3      132 Column Form (Screen Width)
    3.2.4      Keypunch Mode
    3.2.5      Alternate Keypad
    3.2.6      Soft Errors
    3.2.7      Reverse Background
    3.2.8      ReGIS Graphics
    3.2.9      Form Header
    3.2.10     Virtual Formsize
    3.2.11     Shared Form Row
    3.2.12     Scrollable Row
    3.2.13     Background Color, Reverse Color, Text Color, Bold Color

  3.3     Exiting the Form-wide Attributes Menu

  4      Painting the Form

  4.1     Entering the Paint Screen

  4.2     Using the Paint Screen
    4.2.1      Paint Screen Status Information
    4.2.2      Paint Screen Keypad and Function Keys
    4.2.3      Moving the Cursor in the Paint Screen

  4.3     Creating Fields on a Form
    4.3.1      Creating Fixed Prompt Fields
    4.3.2      Creating Variable Data Fields
    4.3.3      Identifying Variable Data Field Type and Length
    4.3.4      Merging and Separating Fields
    4.3.5      Assigning Field Attributes

  4.4     Editing Text
    4.4.1      Centering Text
    4.4.2      Moving Text:  Using Cut and Paste
    4.4.3      Inserting a Blank Line
    4.4.4      Deleting and Undeleting Text

  4.5     Enhancing the Visual Appearance of the Form
    4.5.1      Double-High and Double-Wide Lines
    4.5.2      Video Highlighting
    4.5.3      Drawing Rectangles and Lines

  4.6     Defining Structures

  4.7     Exiting the Paint Screen

  5      Assigning Field Attributes

  5.1     Entering the Field Attributes Menu
    5.1.1      Assigning Field Attributes to All Fields
    5.1.2      Assigning Field Attributes to New Fields
    5.1.3      Assigning Field Attributes to Individual Fields

  5.2     Completing the Field Attributes Menu

  5.3     Using the Field Attributes Menu Function Keys

  5.4     Assigning the Field Name Attribute

  5.5     Selecting Edit Attributes
    5.5.1      Numeric Attribute
    5.5.2      Financial Attribute
    5.5.3      Signed Attribute
    5.5.4      Yes/No Attribute
    5.5.5      Encrypted Attribute
    5.5.6      Lowercase Attribute
    5.5.7      Alpha Attribute
    5.5.8      Fixed Attribute
    5.5.9      Required Attribute
    5.5.10     Protected Attribute
    5.5.11     Hidden Attribute
    5.5.12     Field Wrap Attribute
    5.5.13     Major Attribute
    5.5.14     Default Required Attribute
    5.5.15     Default Protected Attribute

  5.6     Using Display Attributes
    5.6.1      Formatted Attribute
    5.6.2      Leading Zero Attribute
    5.6.3      Left Justify Attribute
    5.6.4      Leading Sign Attribute
    5.6.5      Blank When Zero Attribute
    5.6.6      No Echo Attribute
    5.6.7      Floating Currency Attribute

  5.7     Using Conversion Attributes
    5.7.1      Datatype Attribute
    5.7.2      Precision Attribute
    5.7.3      Scale Attribute

  5.8     Selecting User Edit Attributes
    5.8.1      User Edit Routine Attribute
    5.8.2      Edit Attribute
    5.8.3      Display Attribute

  5.9     Using Video Attributes
    5.9.1      Text Bold Attribute
    5.9.2      Text Reverse Attribute
    5.9.3      Text Underline Attribute
    5.9.4      Text Blink Attribute
    5.9.5      Text Color Attribute
    5.9.6      Field Bold Attribute
    5.9.7      Field Reverse Attribute
    5.9.8      Field Underline Attribute
    5.9.9      Field Blink Attribute
    5.9.10     Field Color Attribute

  5.10    Changing the Initial Value Attribute

  5.11    Using Help Text

  5.12    Exiting from the Field Attributes Menu

  6      Assigning Field Order

  6.1     Entering the Order Screen

  6.2     Using the Order Screen

  6.3     Ordering Fields
    6.3.1      Determining the Default Field Access Order
    6.3.2      Determining the Current Field Access Order
    6.3.3      Creating a Left to Right, Top to Bottom Field Access Order
    6.3.4      Changing Field Access Order for All Fields
    6.3.5      Changing Field Access Order for Specific Fields

  6.4     Exiting from the Order Screen

  7      Modifying a Form

  7.1     Identifying an Existing Forms Library

  7.2     Identifying a Form

  7.3     Modifying Form-wide Attributes

  7.4     Modifying a Form Layout

  7.5     Modifying Field Attributes

  7.6     Modifying Field Access Order

  7.7     Saving or Quitting a Form

  7.8     Listing Form Information

  8      Compiling and Testing Forms

  8.1     Compiling a Form
    8.1.1      Using the Form Compilation Menu
    8.1.2      Using the INTACT EDIT COMPILE Command

  8.2     Testing the Form

  8.3     Executing the EXFM Function

  9      Maintaining Forms

  9.1     TFE Input Files

  9.2     TFE Output Files

  9.3     Maintaining Forms Libraries

  9.4     Maintaining Forms

  9.5     Compressing Forms Libraries

  A   TFE DCL Syntax

  A.1     INTACT EDIT COMPILE

  A.2     INTACT EDIT COPY

  A.3     INTACT EDIT FORM

  B   Programming Information on Structures

  B.1     Types of Structures

  B.2     Field Numbering

  EXAMPLES

  B-1        MYFORM.H

  B-2        DMYFORM.H

  FIGURES

  1-1        TFE Main Menu

  2-1        Sample Form Listing

  2-2        Form Command Menu

  2-3        Form-wide Attributes Menu

  2-4        Example of a Blank Paint Screen

  2-5        Example of a Painted Screen

  2-6        Field Attributes Menu

  2-7        Example of an Order Screen

  2-8        Form Compilation Menu

  3-1        Form-wide Attributes Menu

  4-1        Paint Screen for a New Form

  4-2        Paint Screen Keypad Help Screen

  4-3        Drawing a Rectangle

  4-4        Drawing a Line

  4-5        Structure Definition Menu

  5-1        Field Attributes Menu

  6-1        Sample Employee Add Form Order Screen

  6-2        Order Screen Keypad

  7-1        Sample Form Listing

  7-2        Form Command Menu

  7-3        Form-wide Attributes Menu

  7-4        Example of a Painted Screen

  7-5        Field Attributes Menu

  7-6        Example of an Order Screen

  7-7        Form Compilation Menu

  8-1        TFE Main Menu

  8-2        Form Compilation Menu

  8-3        DECintact Sign-On Screen

  8-4        DECintact Sign-On Screen (with User Name and Password)

  8-5        DECintact System Menu

  8-6        Testing the EMPLOYEE_INCOME Form

  8-7        EMPLOYEE_INCOME Form with Entry Error

  B-1        Structure

  B-2        Example of a Nonparallel Structure

  B-3        Example of a Parallel Structure

  TABLES

  1-1        TFE Command Summary

  3-1        Form-wide Attributes Menu Function Keys

  3-2        Key Dependent Characters Returned in Keypad Mode

  3-3        Values Returned from Function Keys

  3-4        Trapped Keys

  3-5        Screen Display Colors

  4-1        Valid Data Entry Characters in Field Mode

  4-2        Valid Embedded Characters in Field Mode

  5-1        Field Attributes Menu Function Keys

  5-2        Financial Characters

  5-3        Valid Data Types

  5-4        Fixed-Point Data Types

  5-5        Floating-Point Data Types

  5-6        Scale Factor

  6-1        Order Screen Cursor Movement Keys

  6-2        Order Screen Field Order Keys

  8-1        Form Compilation Menu Fields

  9-1        TFE Command Summary - LIBRARY and SET

  9-2        TFE Command Summary - CREATE, DELETE, COPY, RENAME, LIST

  A-1        Supported Programming Languages

  B-1        Simple Field Numbering

  B-2        Field Numbering with Structure

  B-3        Field Numbering with Multiple-Field Parallel Structure

  B-4        Field Numbering with Multiple-Field Nonparallel Structure