.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
Arguments
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:
Blinking (UNIX and OpenVMS) or italic (Windows).
Not blinking (UNIX and OpenVMS) or not italic (Windows). (default)
Highlighted (or boldfaced).
Not highlighted (or boldfaced). (default)
Assign specified palette#, where palette# is a palette number in the range 1 to 16.
Highlighted (or boldfaced).
Not highlighted (or boldfaced). (default)
Reverse video.
Normal video. (default)
Underlined.
Not underlined. (default)
Discussion
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.
Examples
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