|
-
May 26th, 2010, 08:27 AM
#3
Thread Starter
Member
Re: Radio Buttons and Select Case Statements
 Originally Posted by JuggaloBrotha
That's a lotta code and not in a code tag which makes it even harder to read.
To the point, here's the easiest way to figure out which radio button is selected:
Code:
Select Case True
Case AddRadioButton.Checked
'Addition was selected, call the function
Case SubtractRadioButton.Checked
'Subtraction was selected, call the function
Case MultiplyRadioButton.Checked
'Multiplication was selected, call the function
Case DivideRadioButton.Checked
'Division was selected, call the function
End Select
What is code tag? I may know, but may not be familiar with the terminology. When it is viewed in VB it is coded with color and is indented and so forth. When I copied the code it left the formatting. I will try to do better in the future. Thank you for your help!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|