Combobox for historical entries

G

Guest

I am trying to implement a clone of the url combobox in IE. As you type a
string in the combobox it drops down and shows historical entries that were
previously entered that match the typed string. The only problem is that when
I set the DroppedDown property to true the Text that was being typed is wiped
out with the first entry in the drop down list. I tried setting the text
property with a saved version of the entered text after setting DroppedDown
to true, but that caused some kind of infinite loop in the combobox control.
How do I keep the value I was typing and show the matching values in the drop
down? Am I even using the correct approach/control?

Thanks,
Norman
 
K

Ken Tucker [MVP]

Hi,

http://www.codeproject.com/vb/net/autocomplete_combobox.asp

http://www.gotdotnet.com/Community/...mpleGuid=30138e02-c2c3-41cd-bc6a-09bc8fd2860b

Ken
----------------------
I am trying to implement a clone of the url combobox in IE. As you type a
string in the combobox it drops down and shows historical entries that were
previously entered that match the typed string. The only problem is that
when
I set the DroppedDown property to true the Text that was being typed is
wiped
out with the first entry in the drop down list. I tried setting the text
property with a saved version of the entered text after setting DroppedDown
to true, but that caused some kind of infinite loop in the combobox control.
How do I keep the value I was typing and show the matching values in the
drop
down? Am I even using the correct approach/control?

Thanks,
Norman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top