[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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