views:

11

answers:

0

Hi.

I've already successfully gotten autocomplete working in a regular combo box. I used the leave event to set the selection to null if the user types in something that isn't in the list.

Now, I want to do this in a DataGridViewComboBoxColumn. However, the usual properties like AutoCompleteMode and AutoCompleteSource are missing. I hear there's a way get this done using casting somehow but I can't read the VB language instructions too well. Ideally I want to make a new derived class so I can easily use this thing over and over.

The other problem is I need to know what event to intercept in order to reset the combobox to its old value or null if the item isn't in the list.

Help would be appreciated! Thanks.