ListBox

ListBoxSetCaption

Set the caption of the list box

Syntax

Signature
xBool        ListBoxSetCaption( ListBox *listBox, const char *caption );

Arguments

listBox the list box.

caption the UTF-8 text to copy, or NULL for an empty string. & marks the following character as the accelerator.

Return value

T on success, or F if the object is NULL.

Description

The list copies the text and keeps its caption coordinates. Call `ListBoxDisplay()` to draw the new text.

See also