WebRadioButton.Constructor(value As String, enabled As Boolean = True)

From Xojo Documentation

Constructor

WebRadioButton.Constructor(value As String, enabled As Boolean = True)

New in 2020r1

Creates a new WebRadioButton with the caption set to the value passed. If the enabled parameter is True, the button will be initially enabled.

Sample Code

This example shows adding a WebRadioButton to a WebRadioGroup:

RadioGroup1.AddRow(New WebRadioButton("Today", True))

This example shows adding a WebRadioButton to a WebRadioGroup with the Tag property set to the current date:

Var button As New WebRadioButton("Today", True)
button.Tag = DateTime.Now
RadioGroup1.AddRow(button)

See Also

WebRadioButton control.