Set the SelectedIndex to -1
--
<ctacke/>
www.opennetcf.org/sdf
Winner of the 2004 Pocket PC Magazine Best Software award
"Aaron" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Why is it that I cannot seem to figure out how to clear a combobox out.
> Am
> I an idiot, or is it harder than I thought it could be? I need to retain
> all the items, just clear the text area out when users open the form up
> again.
>
> I've tried:
>
> this.cmbInches.Text = "";
>
> and:
>
> this.cmbInches.Items.IndexOf(0);
>
> and neither seem to work. Can anyone give me the simple solution that I
> must be overlooking?
>
> Thanks
>
>