Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to Lock a combobox to key input

Posted on 2001-09-14
3
123 Views
Last Modified: 2012-05-05
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
Comment
Question by:BBaron
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 6482408
So change the style to DropdownList and this should do exactly that.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6482411
Change the Style property of the ComboBox from the default to 2 - DropDoen List.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6482415
Tim - you are too quick <LOL>
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question