WebRadioGroup.SelectByCaption

From Xojo Documentation

Method

WebRadioGroup.SelectByCaption(Caption As String)

New in 2010r4

Supported for all project types and targets.

Selects the radio button who has the passed Caption. If no radio button is found with the specified caption, this call does nothing.

Example

The following line selects the second radiobutton in the default WebRadioGroup.

RadioGroup1.SelectByCaption("Second")