Incremental search in Listbox

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

I created a form with a ListBox on it. If the user types multiple keys quickly, the cursor jumps to the item with the same starting letter of the last keystroke entered. How do I make it so that it will do an incrementalsearch? That is, if the user types "STR", it will go to the item that starts with "STR", skipping other items that start with "S".
 
That is not the correct use for a list box.
Is there any reason you don't use a combo box for the search? That is the
native behaviour for a combo box.
 
I changed it to a combo box. Thanks for the help.

Greg

That is not the correct use for a list box.
Is there any reason you don't use a combo box for the search? That is the
native behaviour for a combo box.
 

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

Back
Top