Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

How to Lock a combobox to key input

Lo all,
    I need a way of locking a combo box to the keyboard but allowing the mouse to still change the item, but also I need to still allow the quick search functionality of the keys, ie if I have an alphabetic list of car models I want to be able to type a 'D' and have all the list jump to those (as it does already), but I dont want the user to be able to amend the text in the combobox only pick available items in the list.

Any suggestions?

Cheers

Ben
0
BBaron
Asked:
BBaron
  • 2
1 Solution
 
TimCotteeCommented:
So change the style to DropdownList and this should do exactly that.
0
 
Arthur_WoodCommented:
Change the Style property of the ComboBox from the default to 2 - DropDoen List.
0
 
Arthur_WoodCommented:
Tim - you are too quick <LOL>
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now