Syntax
xBool RadioGroupSelect( RadioGroup *radioGroup, int position );
Arguments
radioGroup the radio group.
position the one-based position of an existing button.
Return value
T on success, or F if the object is NULL or position is outside the item list.
Description
The group unselects the previous button, selects the requested button and redraws both as applicable. It updates the stored group position after handling the buttons. The button state callbacks can run during the change. Selecting the current position succeeds without another transition.
The C method also works before the group receives focus, so the application can initialize the selection before accepting input. Valid positions start at `1`. A position of `0` returns `F`.