I want to reference my choice box selection in other parts of the code. For instance, if Choice box selection 1 is chosen, do this, but if selection 2 is chosen follow these rules. Can anyone help??
If ChoiceBox1.SelectedIndex = 0 Then ...
'or:
Dim SelectedItem As String = ChoiceBox1.Items.Get(ChoiceBox1.SelectedIndex)
If SelectedItem = "selection 1" Then
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.