pdanford
02-23-2005, 02:37 PM
I am trying to programitcally build combo boxes onto a form.
I can successfully build the control and add items into the combo boxes.
However, when built, it seems that only the .SelectedIndex and .SelectedItem properties have values. I would also like to store some information in the .SelectedValue property.
I can see no way of specifying this when adding items into my combo box
ie. using objCombo.Items.Add("paul") before calling Controls.Add(objCombo)
Am I missing something obvious?
Any help appreciated!
Thanks,
pdanford
I can successfully build the control and add items into the combo boxes.
However, when built, it seems that only the .SelectedIndex and .SelectedItem properties have values. I would also like to store some information in the .SelectedValue property.
I can see no way of specifying this when adding items into my combo box
ie. using objCombo.Items.Add("paul") before calling Controls.Add(objCombo)
Am I missing something obvious?
Any help appreciated!
Thanks,
pdanford