RadioGroup

RadioGroupSetColorSpec

Set the colors of the group frame and caption

Syntax

Signature
xBool           RadioGroupSetColorSpec( RadioGroup *radioGroup, const char *colorSpec );

Arguments

radioGroup the radio group.

colorSpec a comma-separated color string to copy, or NULL to restore defaults based on the current SetColor() setting.

Return value

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

Description

The three entries color the frame, caption text and caption accelerator, in that order. Use `RadioGroupSetColor()` to set the colors of the member buttons.

With the initial `SetColor()` value, the default is `W/N,W/N,W+/N`. With a custom `SetColor()` value, the group takes entries 3, 1 and 4. A missing entry uses the first color.

See also