Ok, another one, sorry.
In VB6, to have the first value in a combobox display w/o being clicked, you set the listindex property to 0. But there is no listindex property in VB.net comboboxes. How would I accomplish this? Thanks again.
Printable View
Ok, another one, sorry.
In VB6, to have the first value in a combobox display w/o being clicked, you set the listindex property to 0. But there is no listindex property in VB.net comboboxes. How would I accomplish this? Thanks again.
do this :
VB Code:
ComboBox1.SelectedIndex=-1
Thanks. Setting it to 0 works too.
Sorry , I thought you want to reset the combox box . :DQuote:
Originally posted by salvelinus
Thanks. Setting it to 0 works too.
ComboBox1.SelectedIndex=-1 seems to only decrement the selected index value. I DO want to reset my comboboxes so when I tab into one I can use the arrow keys to select the desired item. Any help in getting this to work would be greatly appreciated. Thanks in advance.