Radio buttons and message boxes in Visual Basic

Viewed 6

Im having a problem with radiobuttons. So it opens the message box for the previously clicked radio button and then the message box for the currently clicked one.

Private Sub rdbWada_CheckedChanged(sender As Object, e As EventArgs) Handles rdbWada.CheckedChanged MsgBox("Its a water fountain... there's something shiny at the bottom of it. You pick up the rock") End Sub

Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton2.CheckedChanged MsgBox("Bananas. You're not hungry but you take them with you incase you get hungry")

End Sub

for example when the radio button fountain is clicked the message box oooooooooh shiny! its a rock but how's that gonna help save your wife will appear and then close

but when you click the radio button for the banana it will open a msg box saying oooooooooh shiny! its a rock but how's that gonna help save your wife

then a msg box saying Bananas. You're not hungry but you take them with you incase you get hungry help would be appreciated!

0 Answers
Related