|
| ||||||||||
| Tags: combobox, vb 2010, visual basic |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Need Help With ComboBox
Start by saying that i'm using Visual Basic 2010... and I've 2 ComboBox, a primary one and the other which depends on the first, what I want to know is how to change the list of the second ComboBox according to the Items selected from the list of the first ComboBox... Any help would be great!! |
|
#2
| |||
| |||
| Re: Need Help With ComboBox
I have a solution for you don’t know if it is right or wrong but give it a try. First of all I don’t know how have you related the 2 combo boxes but I would say try relating the two combo boxes with the help of ListControl.SelectedValueChanged Event Subscribe this event with your first combo box. Once you have raised this event you can use the following syntax to your second combo box Code: ‘combo2.Items.Clear ()’ |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Need Help With ComboBox" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use of combobox in script | Martien | Software Development | 3 | 15-01-2010 10:58 AM |
| Combobox and Text value | HarshaB | Software Development | 5 | 09-11-2009 06:16 PM |
| How to lock combobox | JamesB | Software Development | 3 | 19-03-2009 07:20 PM |
| Add ComboBox in DataGrid in VB 6.0 | Jateen | Software Development | 3 | 15-01-2009 05:31 PM |
| How to add file content to combobox | MikeY007 | Software Development | 3 | 11-10-2008 03:58 PM |