Go to the ComboBox1_SelectedIndexChanged event, and add an if-statement similar to the one below:
If ComboBox1.SelectedItem = "Economy" Then
CheckBox1.Checked = True
CheckBox2.Checked = True
CheckBox3.Checked = False
CheckBox4.Checked = False
CheckBox5.Checked = False
ElseIf ComboBox1.SelectedItem = "Premium" Then
CheckBox1.Checked = True
CheckBox2.Checked = True
CheckBox3.Checked = True
CheckBox4.Checked = False
CheckBox5.Checked = False
ElseIf ComboBox1.SelectedItem = "Executive" Then
CheckBox1.Checked = True
CheckBox2.Checked = True
CheckBox3.Checked = True
CheckBox4.Checked = True
CheckBox5.Checked = True
End If
I must say, if you need help with something so simple, you really have problems, if took like 1 minute to make a simple program like this.
crazyhorse09
Junior Poster in Training
62 posts since Mar 2009
Reputation Points: 19
Solved Threads: 7