CheckBox

CheckBoxSetCaption

Set the caption of the check box

Syntax

Signature
xBool         CheckBoxSetCaption( CheckBox *checkBox, const char *caption );

Arguments

checkBox the check 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 check box copies the text and keeps its caption coordinates. Call `CheckBoxDisplay()` to draw the new text.

See also