Jump to content

Creating two sets of Radio buttons that are BOTH clickable


san1
 Share

Recommended Posts

HiI have enclosed the following code, which I created in two Groups so I can enable clicking one radio button from each group simultaneously. However, I did not succeed and only one or the other is click-able. Please provide assistance. Thanks for your help.Public Class Form1Private Sub GroupBox1_Enter(sender As Object, e As EventArgs) Handles GroupBox1.EnterIf RadioButton1.Checked ThenTextBox1.Text = (1).ToString("G")End IfIf RadioButton2.Checked ThenTextBox1.Text = (2).ToString("G")End IfEnd SubPrivate Sub GroupBox2_Enter(sender As Object, e As EventArgs) Handles GroupBox2.EnterIf RadioButton3.Checked ThenTextBox2.Text = (3).ToString("G")End IfIf RadioButton4.Checked ThenTextBox2.Text = (32).ToString("G")End IfEnd SubEnd Class

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...