Character windows - textboxesΒΆ

Textboxes


Extra properties


border = integer
shadow = integer

Border and shadow style. These properties may be applied to individual textboxes or to textbox groups.

A textbox border defaults to that assigned in the terminal parameter file (Section 11, Sub-entry 3, where the entry number is the palette number). The style flags WS_INDENT and WS_STANDOUT may be used to achieve an indented or standout appearance. These flags are ignored unless the border is a complete rectangle (as opposed to, for example, square brackets [ ]).

Border styles with the prefix DELIM_ define left and right delimiters, and are particularly suitable for use with textboxes.

EXAMPLES

border = DELIM_VERTBARS

border = 2   /* Border style 2 - double line all round */

Textbox size and number of elements

The height = clause is ignored. Free format textboxes cannot be used. See Textbox size and number of elements.


Textbox style

WS_INDENT has no effect unless the border is a complete rectangle (as opposed to a pair of delimiters).

The additional flag WS_STANDOUT is available to create a standout border. It also has no effect unless the border is a complete rectangle

WS_PLAIN is the default border style for character windows.


RELATED TOPICS

Character windows

Textbox style flags