Watch video belowSample Codes Here:Private Sub cboCategory_Click()If cboCategory = "C2AA" ThenList1.AddItem "12002207700"ElseIf cboCategory = "C2SP" ThenList1.AddItem "12009908800"ElsetxtName.Text = ""txtGender.Text = ""List1.CleartxtInput.SetFocuscboCategory.Text = ""End IfEnd SubPrivate Sub cmdADD_Click()cboCategory.AddItem (txtInput.Text)txtInput.SetFocustxtInput.Text = ""End SubPrivate Sub List1_Click()If List1.Text = "12002207700" ThentxtName.Text = "FLORES"txtGender.Text = "Male"ElseIf List1.Text = "12009908800" ThentxtName.Text = "BADAT"txtGender.Text = "Female"End IfEnd Sub
Blog Post
Biyernes, Marso 6, 2015
Visual Basic 6.0 : Add Item to Combo Box
Mga etiketa:
YouTube Video Tutorial
Mag-subscribe sa:
I-post ang Mga Komento (Atom)
0 (mga) komento:
Mag-post ng isang Komento