RadioGroup

RadioGroupGetItem

Return the radio button at a given position

Syntax

Signature
RadioButto     *RadioGroupGetItem( const RadioGroup *radioGroup, int position );

Arguments

radioGroup the radio group.

position the one-based position of an existing button.

Return value

The button at position, or NULL if the object is NULL or position is outside the item list.

Description

The group retains ownership of the returned button. Use its `RadioButto` setters to change attributes such as its caption. Change the group's selection with `RadioGroupSelect()`.

See also