0

Here is what I want to accomplish--I want a ListBox exactly like everyone else uses (almost always)! When the user mouse-clicks in the box and enters a keypress, the first item in the dropdown list, with that char as a first char, is selected. The values are restricted to those in the dropdown list (i.e. the user may not enter data directly from the keyboard.)

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by edgar5
0

Set AutoCompleteSource to ListItems, then set AutoCompleteMode to whichever one you like. I prefer Suggest, but you can check them all to see which one is ideal for you.

0

Set AutoCompleteSource to ListItems, then set AutoCompleteMode to whichever one you like.

I had played about with various combinations of these but operator error bit me! I am doing file name creation based upon song titles; song titles occasionally have invalid (for file names) characters in them.

I have a Form which offers the user the opportunity to select replacement characters for the forbidden ones. As almost every Item in the ComboBox is a single letter, when I entered a single letter there needed to be no suggestion as I had gotten the entry right! The only multi-character Items are “ (single space)”, “<space>hyphen<space>” and a few other special entries involving the <space> character—all visually confusing without a textual description! Entering a <space> into the ComboBox does indeed bring up the suggestions which are appropriate.

Thanks for helping me stay focused and not give up on this tiny detail!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.