.LINE

Draw a line

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
.LINE name, length[, POSITION(row, column)][, HORIZONTAL|VERTICAL] –
      [, rendition, ...]

or

.LINE

name

The name of the line (a maximum of 30 characters).

length

The length of the line.

POSITION (row, column)

(optional) The position specification for the line, indicating the row and column at which the upper-left end of the line is positioned. If not specified, the position of the line defaults to the current screen position.

HORIZONTAL | VERTICAL

(optional) The direction to draw the line. The default is horizontal.

rendition

(optional) One or more of the following display renditions:

BLINK | ITALIC

Blinking (UNIX and OpenVMS) or italic (Windows).

NOBLINK | NOITALIC

Not blinking (UNIX and OpenVMS) or not italic (Windows). (default)

BOLD

Highlighted (or boldfaced).

NOBOLD

Not highlighted (or boldfaced). (default)

COLOR(palette#)

Assign specified palette#, where palette# is a palette number in the range 1 to 16.

HIGHLIGHT

Highlighted (or boldfaced).

NOHIGHLIGHT

Not highlighted (or boldfaced). (default)

REVERSE

Reverse video.

NOREVERSE

Normal video. (default)

UNDERLINE

Underlined.

NOUNDERLINE

Not underlined. (default)

The first form of the .LINE command is used to draw a line within a general or input window definition.

The second form of the .LINE command adds a row with a horizontal line to a menu column or selection window definition. These horizontal lines do not contain leading or trailing blanks, and will not connect with the menu column or selection window border.

On Windows, .LINE in a selection window definition (.SELECT) has no effect.

This example draws a vertical line 8 rows long in reverse video positioned at row 2 and column 1 of a window.

.line line1, 8, pos(2, 1), vertical, reverse

This example separates the “Exit” menu entry from the “About” menu entry with a horizontal line.

.column c_general, "General"
.entry o_help, "Help", key(F1)
.entry o_exit, "Exit", key(F4)
.line
.entry u_about, "About"
.end