D
Dom
I like the control "Combobox" with the Autocomplete property set to
true. For those of you unfamiliar with it, the control consists of a
text box with a list box under it. As you type in the text box, the
autocomplete appends to what you have typed, giving you the first item
in the listbox that matches.
One problem. If you type <CR>, (which is what most people would type
in order to accept the autocompleted text) the text box goes blank, so
the user loses everything. Why, I don't know.
I tried to work around it, by capturing the KeyDown event, but
unfortunately, in this control, if the key is a <CR> the event is not
raised until after the Text has changed.
Anyone know a work around?
Dom
true. For those of you unfamiliar with it, the control consists of a
text box with a list box under it. As you type in the text box, the
autocomplete appends to what you have typed, giving you the first item
in the listbox that matches.
One problem. If you type <CR>, (which is what most people would type
in order to accept the autocompleted text) the text box goes blank, so
the user loses everything. Why, I don't know.
I tried to work around it, by capturing the KeyDown event, but
unfortunately, in this control, if the key is a <CR> the event is not
raised until after the Text has changed.
Anyone know a work around?
Dom