autocomplete combobox

  • 11 years ago

    Hi, When a user starts typing in a combobox, I want the drop downlist to display, and the closest match to start displaying. (will be sorted alphabetically). Only an item in the list will be selectable.

  • 11 years ago

    I was looking for the same thing tonight.  I found it here: http://freevbcode.com/ShowCode.Asp?ID=5944

    The code is in a module and you simply pass your keypress events to a procedure and it does the rest.  An example form is included and is pretty self explanatory.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.” - Bill Gates