Hi,
I’m attempting create a quizz app.
Created a new control of 4 checkboxes namely:
AnswerCheckBox(0)
AnswerCheckBox(1)
AnswerCheckBox(2)
AnswerCheckBox(3)
How do I write a code to allow the user to select only ONE of the 4 checkboxes?
I think I need to use a loop to run through the controls but could not figure out how.
[quote=422412:@Detlef Kahner]Please, what is the answer to this question?
I think it was .index?[/quote]
You can name RadioButtons individually and check their Value property. You can also create a control array if that suits you, but I find that more difficult to maintain personally.