outline

Use the outline property to draw lines at the edges of fields on any device that supports double-byte characters. The value for this property is an array of elements from the OutlineKind enumeration:
box
Draw lines to create a box around the field content.
noOutline
Do not draw any lines.
left
Draw a vertical line at the left edge of the field.
top
Draw a horizontal line at the top edge of the field.
right
Draw a vertical line at the right edge of the field.
bottom
Draw a horizontal line at the bottom edge of the field.

The content of each form field is preceded by an attribute byte. You cannot place an attribute byte in the last column of a form and request an outline value for the next column, which is beyond the edge of the form. (The field does not wrap to the next line.) Similarly, you cannot place an attribute byte in the first column of a form and expect the outline value to appear in that column; the outline value can appear only in the next column.

In addition, you can specify any or all of the components of a box. In this case, place brackets around one or more values, with each value separated from the next by a comma, as in this example:

The partial values are as follows:
left
Draw a vertical line at the left edge of the field
over
Draw a horizontal line at the top edge of the field
right
Draw a vertical line at the right edge of the field
under
Draw a horizontal line at the bottom edge of the field

Example

You can specify any or all of the components of a box. The following two property values are equivalent:
outline = [OutlineKind.left, OutlineKind.top, 
           OutlineKind.right, OutlineKind.bottom]

outline = [OutlineKind.box]

Compatibility

Table 1. Support for outline property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes No No No Yes Yes Yes Yes

Feedback