WebRadioGroup.SelectByTag

From Xojo Documentation

Method

WebRadioGroup.SelectByTag(Tag as Variant)

New in 2010r4

Supported for all project types and targets.

Selects the radio button with the passed Tag. If no radio button has the passed tag, SelectByTag does nothing.

Example

The following code in the Open event of the control assigns the tags to the two radio buttons in a default control.

Me.CellTag(0, 0) = "Top"
Me.CellTag(1, 0) = "Bottom"

The following line in a WebButton uses selects the second radio button using SelectByTag.

RadioGroup1.SelectbyTag("Bottom")