D
Dano
Hi all,
I know I must be missing something very simple here, but this little problem
is baffling me.
If you have a combobox called cmbMyCombo and add a bunch of strings to it,
say, "Apple", "Pear" and "Orange", and then call the
cmbMyCombo.SelectedIndex it will tell you the index of the item that was
selected. However, you would think that if you called
cmbMyCombo.SelectedText it would give you the TEXT of whatever was selected
(i.e. Apple, Pear etc), but all it does is return an empty string. Does
anyone know why this is?
Dano
I know I must be missing something very simple here, but this little problem
is baffling me.
If you have a combobox called cmbMyCombo and add a bunch of strings to it,
say, "Apple", "Pear" and "Orange", and then call the
cmbMyCombo.SelectedIndex it will tell you the index of the item that was
selected. However, you would think that if you called
cmbMyCombo.SelectedText it would give you the TEXT of whatever was selected
(i.e. Apple, Pear etc), but all it does is return an empty string. Does
anyone know why this is?
Dano