Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sun Jul 31, 2005 7:29 am Post subject: HOWTO : Enumerate all the items displayed in ShComboBox.NET Control. |
|
|
You should use the ItemsCount and ComboBoxItem properties.
Dim x As ComboBoxItem
For i = 0 To shcmbbox.ItemsCount - 1
Set x = shcmbbox.ComboBoxItem(i)
lstBox.AddItem x.DisplayName
Next i |
|