|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Combo Box Help!!!
I am a total VB rookie. i am going to ask a question that has probably been asked 20 times but oh well here it goes.
i am trying to use a combo box, when they select what they want out of the combo box, all i want is the return value. based on what they pick i want a number i can look at and make a decision with. kinda like the msgbox returns a value for a yes or a no. first of all is this possible or am i barking up the wrong tree? (if so what is a better way to do this???) Thanks!!!!! ![]() |
|
#2
|
||||
|
||||
|
Do a search, I just answered a question like this a couple of days ago.
|
|
#3
|
|||
|
|||
Thanks Menmoch!!i eventually figured it out. it went something like this. Dim Rubber_choice If Combo2.Text = "EPDM Rubber" Then Rubber_choice = MsgBox("User Choose EDPM", 1, "Is This Correct?") End If If Combo2.Text = "EPDM Rubber" Then Combo1.Visible = True Else: Combo1.Visible = False End If If Combo2.Text = "EPDM Rubber" Then txtbox1.Visible = True Else: txtbox1.Visible = False End If i never did find a "number" but in using the text i was able to do what i wanted to do! This may or may not help rookies such as myself........... |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Combo Box Help!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|