1. Home
  2. Computing & Technology
  3. Visual Basic

Chapter 4 - Working With Menus and Dialog Boxes - Part 3

By Dan Mabbutt, About.com

5 of 10

The Music Trivia Solution Code - Page 4

  If IndexValue = 3 Then
    Label1.Text = _
      "What is the dynamic range of the bass trombone?"
    RadioButton1.Text = _
      "On or Off"
    RadioButton2.Text = _
      "You can throw it about 20 yards"
    RadioButton3.Text = _
      "I've never seen a fish play a trombone"
  End If
  Button3.Visible = False
  Button1.Visible = True
  PictureBox1().Visible = False
  RadioButton1.Checked = False
  RadioButton2.Checked = False
  RadioButton3.Checked = False
End Sub
Explore Visual Basic
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB.NET
  5. Working With Menus and Dialog Boxes - Part 3

©2009 About.com, a part of The New York Times Company.

All rights reserved.