TUTORIAL 2 VISUAL BASIC| HOW TO USE COMBO BOX AND TEXTBOX | BASIC TUTORIAL |




Functions 
Its main function, using COMBO BOX as item list, when to select an item  from COMBO BOX the program automatically display the Price of the item in TEXTBOX.

You can download Visual Basic 6.0 Tutorials 1 below :)

DOWNLOAD

NOTE! Install Visual Basic 6.0 first in you're computer to open tutorial 2.
------------------
PLEASE REPORT A DEAD-LINK
------------------
Vb 6.0 | Visual Basic Tutorials

#THECODES 
Private Sub Combo1_Click()
If Combo1.Text = "CHICKEN" Then 
Text1.Text = "200"
End If
If Combo1.Text = "HOTDOG" Then
Text1.Text = "400"
End If
End Sub
 
Private Sub Form_Load()
Combo1.AddItem "CHICKEN"
Combo1.AddItem "HOTDOG"
End Sub

Easy! | Comment | Follow Us on G+ | Like us on Facebook
 

Post a Comment