I have a combobox with a list of values and have a variable
that I want to use to choose a specific value in that list without
having to use selectedIndex. Is it possible to do this? I have
tried main_cbx.value = varname; and main_cbx.selectedItem =
varname; but they seem to ony get and not set.