Combobox question
Ok guys here is the deal,
Say I have a combobox that I manually add items. I would like to set the display value of the combobox to equal a certain part of that item (I.e. item.part1) How can I do this. When I do it currently it just gives me the item type.
Thanks
Jackie
[293 byte] By [
partyk1d24] at [2007-11-11 8:29:36]

# 1 Re: Combobox question
Jackie,
The combobox will display the result of calling the item's ToString method.
So you can add a ToString method to the item that returns the property of the item that you want displayed in the combobox.
Kerry Moorman
# 2 Re: Combobox question
Can you provide a snippet of how you load the box, and a couple of sample items you load the box with?