DesktopRadioGroup.Add

From Xojo Documentation

Method

DesktopRadioGroup.Add(Item As DesktopRadioButton)

New in 2021r3

Supported for all project types and targets.

Adds Item as a new radio button in the group.

Sample Code

The following example in the Opening event of the control adds two Radio Buttons to the group.

Me.Add(New DesktopRadioButton("Banana"))
Me.Add(New DesktopRadioButton("Orange"))