O
ORC
I have a combobox with an unknown list of items except of one item which I
want to be selected at startup. I know that I can select an index like this:
comboBox1.SelectedIndex = 1;
but I don't know the index of the item I want to be selected. So I'm looking
for something like this:
comboBox1.Selected??????? = "Bob";
This way the program will start with a comboBox showing the text "Bob".
Any idea how to do this?
Thanks
Ole
want to be selected at startup. I know that I can select an index like this:
comboBox1.SelectedIndex = 1;
but I don't know the index of the item I want to be selected. So I'm looking
for something like this:
comboBox1.Selected??????? = "Bob";
This way the program will start with a comboBox showing the text "Bob".
Any idea how to do this?
Thanks
Ole