Listbox label

label = “text”

The label or screen heading for the listbox. The label is displayed above the box. By default it is centred, but the position may be altered by means of style flags.

Default: No label.

label_font = “text”

Font for the label. See Fonts.

Default: The window font.

label_bgc = rgb_value
label_fgc = rgb_value

Background and foreground colours for the label. See Colours.

Default: The parent window’s label colour values.

EXAMPLES

label_bgc = RGB_GREEN
label_fgc = RGB_YELLOW

label_pen = integer

Pen for the label. Any suitable pen from the current palette may be used. See Pens. From Sculptor 5 onwards, with the introduction of Colour clauses, it is recommended that the label_bgc and label_fgc clauses are used in preference to label_pen.

Default: In a Sculptor palette, PEN_TEXTBOX_LABEL (28).

EXAMPLE

label_pen = PEN_BOLD_REVERSE

RELATED TOPICS

Listboxes