From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Allows you to add a set of radio buttons to a web page. You can group the buttons in any number of columns and rows.
To determine which radiobutton was pressed, use the ValueChanged event.
This code selects a radio button, which has the effect of de-selecting all the other radio buttons in the group:
For example, the following code in the ValueChanged event handler will display a message based upon which radio button is pressed:
Case 0 // Row 1
MessageBox("You clicked the top button.")
Case 1 // Row 2
MessageBox("You clicked the bottom button.")