RadioGroup

RadioGroupDelItem

Remove and release a radio button from the group

Syntax

Signature
xBool           RadioGroupDelItem( RadioGroup *radioGroup, int position );

Arguments

radioGroup the radio group.

position the one-based position of the button to remove.

Return value

T on success, or F if the object is NULL or position is outside the item list.

Description

The group frees the removed button and shifts subsequent entries one position earlier in the list. Buttons retain their screen coordinates.

Deleting an item before the selected one preserves the selected button and adjusts its position. Deleting the selected button clears the selection to `0`.

See also