If I add a list of items to a combobox any ideas on how I solve the following:
I assign 5 values to a combobox using the items.add method, but when I try to query the users selection using selectedvalue it returns nothing. Is there some other way to add items, or is there a step I have missed.
Also how do I make the first item added to the list appear in the combobox, cuurently it appears blank and the user has to click on the control to display the values.
On other comboboxes on the form which I have pre assigned values I use selectedvalue and it works ok
I assign 5 values to a combobox using the items.add method, but when I try to query the users selection using selectedvalue it returns nothing. Is there some other way to add items, or is there a step I have missed.
Also how do I make the first item added to the list appear in the combobox, cuurently it appears blank and the user has to click on the control to display the values.
On other comboboxes on the form which I have pre assigned values I use selectedvalue and it works ok