Set the AutoCompleteComboBox''s AllowNewText property to true and handle its MouseDown event as shown below for this purpose :
private void comboBoxAutoComplete1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
Now you can delete the text in the ComboBoxAutocomplete using the Backspace/Delete keys. Note that the ComboBoxAutocomplete''s DropDownStyle should be set to DropDown. Please refer to the test sample that illustrates this, and let me know if this meets your requirements.
AdministratorAugust 17, 2004 05:45 AM UTC
Yes, this works fine.
Thanks very much.