RadioGroup

RadioGroupGetBuffer

Return the position of the selected radio button

Syntax

Signature
int             RadioGroupGetBuffer( const RadioGroup *radioGroup );

Return value

The one-based position of the selected button, or 0 if no button is selected or the object is NULL.

Description

Use `RadioGroupSelect()` to select an option by position or `RadioGroupGetItem()` to retrieve the button at a nonzero position.

See also