I've got four buttons. btnA, btnB, btnC, btnD
I've got four "answers" that I'm going to be putting randomly as labels onto these four buttons. How would I assign them randomly and track which button 'got' the correct answer?
something like this?
Code:
Dim value1 as String = "This is the correct Answer"
Dim value2 as String = "This is wrong answer 1"
Dim value3 as String = "This is wrong answer 2"
Dim value4 as String = "This is wrong answer 3"
'randomly place each of the four items as labels
Dim correctAnswer as string = btnX '(in reality - would be A, B, C, or D)