Hi All, I need a help regarding my combobox problem. I want this to be in dropdownlist style always but my problem is it does't accept the value that i need to assign in the run mode, in fact it will always go to index 0.
Printable View
Hi All, I need a help regarding my combobox problem. I want this to be in dropdownlist style always but my problem is it does't accept the value that i need to assign in the run mode, in fact it will always go to index 0.
Well if you want it to select a different index then use the SelectedIndex property like so:
vb Code:
MyComboBox.SelectedIndex = 3
Hi,Quote:
Originally Posted by jbatman
Go to the properties of your combobox and select MaxDropDownItem = 3,
then during runtime it will show only 3 items.
Wkr,
sparrow1