.WFIELD

Define a general window field

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
.WFIELD name, LENGTH(length)|TEXT(text)[, POSITION(row, column)] [, rendition, …] 

Arguments

name

The name of the window field (a maximum of 30 characters).

LENGTH (length)

Specifies the length of the field.

TEXT (text)

Specifies the text in the window field.

POSITION (row, column)

(optional) The position specification for the field, indicating the row and column at which to position the field. If not specified, the current row and column position is used.

rendition

(optional) Used only with TEXT. One or more of the following display renditions:

BLINK | ITALIC

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

NOBLINK | NOITALIC

Not blinking (on UNIX and OpenVMS) or not italic (on 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)

Discussion

Defines a window field (which is different from an input field). The row and column values set the field’s beginning position within a window. The field’s length is defined either by the value of length or by the length of the text. Fields cannot be redefined and are numbered sequentially by the script compiler. The window display position is updated to the end of the field.

Use the W_FLDS subroutine to process window fields, not I_INPUT.

Examples

.window functions, 15, 20
.title "Function Fields"
.wfield add, position(6,5), text("Add")
.wfield sub, position(8,5), text("Subtract")
.wfield mult, position(10,5), text("Multiply")
.wfield div, position(12,5), text("Divide")
.wfield mod, position(14,5), text("Modulo")
.end