Typing to sleect an item in list box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Ok, this one has to be easy becasue I can't find it anywhere.

I have a list box. I want to select an item in it. When I type... every
keystroke brings me to the first entry with that letter instead of going to
the second letter in the word I am typing. For example when I type Brady I
end up on the first entry with a "Y" rather than on the Brady.

Any clues?

Thanks
Jc

Papi
 
Joe said:
Hello,

Ok, this one has to be easy becasue I can't find it anywhere.

I have a list box. I want to select an item in it. When I type...
every keystroke brings me to the first entry with that letter instead
of going to the second letter in the word I am typing. For example
when I type Brady I end up on the first entry with a "Y" rather than
on the Brady.

Any clues?

That's how ListBoxes work. If you want matches on all characters you type you
need a ComboBox.
 
Rick,

*sigh* Ok then what about a combo box that displays more than one rowbefore
you click on it, like a list box.

JC
 
Joe said:
Rick,

*sigh* Ok then what about a combo box that displays more than one
rowbefore you click on it, like a list box.

You can make a ComboBox drop down when it get focus using code...

Me.ComboBoxName.Dropdown

You cannot make it drop down when it does not have focus.

These are standard Windows conventions for how ComboBoxes and ListBoxes
behave. It is not unique to Access.
 
Back
Top