Tips and Guidelines

To ensure in forms that boxes, lines, and shading fit correctly with text, follow these guidelines:

Defining a window for each graphical element that you want to include facilitates using boxes, lines, and shading, since the graphical element and the window have the same dimensions and positioning.

Example: If a window is defined with the dimensions 6 CM high and 8 CM wide, then this statement in the text element of the window paints a 10 halftone with the same dimensions. The shading is oriented on the upper left corner of the window.

/: BOX INTENSITY 10

For example, these commands in a form window would allow more room above the first line of text in the window. The box would start 0.2 CM above the top of the window.

/: POSITION YORIGIN '-0.2' CM
/: SIZE HEIGHT '+0.2' CM
/: BOX INTENSITY 5

Make sure to increase the size of the box to accommodate an offset. Otherwise, the box will not cover all of the window.

In the example above, the SIZE command increases the height of the box by 0.2 CM to accommodate the positioning of the box above the window.

/: BOX FRAME 10 TW WIDTH 0 TW HEIGHT '10' CM
Vertical line 10 CM long

/: BOX FRAME 10 TW WIDTH '10' CM HEIGHT 0 TW
Horizontal line 10 CM long

For example, you define a table with the commands shown below. The vertical lines in the table are drawn in at 10 CM and 13.5 CM from the left edge of the window:

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

In the paragraph formats that you use to fill the table, you would define tabs at the positions shown below. With these tabs, your input would start right-justified in the first, second, and third columns of the table. You must ensure that your input is not too long to fit in the columns defined with the lines:

Format TB Fill table
Tabs: 1 9.5 CM RIGHT
2 13.0 CM RIGHT
3 17.0 CM RIGHT