Form Examples and Exercises6–42
Creating a Form and Adding Form Components
4. Now create the form and start adding the form components from the
layout grid. (Refer to Figure 6–11). Use the Special Function Control
Character and Create command to define a form named HCBOATS. Use
the Box command to define the outer border with a line thickness (LT)
3, top left corner at row (SR) 11 column (SC) 10, and bottom right
corner at row (ER) 55, column (EC) 70. In the same Box command
sequence, define another box with a line thickness of 2, top left corner at
row 28 column 14, and bottom right corner at row 44.9 column 66.
After defining the boxes, stop the Box command.
Enter Format
~CREATE;HCBOATS (cc)CREATE;[/]formname[;FL][;DISK]
BOX BOX
3;11;10;55;70 LT;SR;SC;ER;EC
2;28;14;44.9;66
STOP STOP
5. Mr. Handcraft would like corners around the slogan. Use the Corner
command to define a line thickness (LT) of 2, top left corner at row
(SR) 48 column (SC) 24, and bottom right corner at row (ER) 52
column (EC) 56. Make the vertical (VL) corner piece 4 spaces long and
the horizontal (HL) corner piece 5 spaces long. Then stop the Corner
command.
Enter Format
CORNER CORNER
2;48;24;52;56;4;5 LT;SR;SC;ER;EC;VL;HL
STOP STOP
6. To make the columns for the special order items, add two vertical lines
each with a line thickness (LT) of 1, one line in column (C) 22 and the
other line in column 58. Each line will start at row (SR) 28 and end at
row (ER) 44.9.
Enter Format
VERT VERT
1;22;28;44.9 LT;C;SR;ER
1;58;28;44.9
STOP STOP