Solved

combo box don't want to let them change value of text

Posted on 2000-05-18
6
137 Views
Last Modified: 2010-05-02
i have a combo box on my form. I have put in the list the value 1,2,3,4,5
I don't want them to be able to go on combo box and put in a value.
I just want them to choose one with the arrow button.
thanks!!!!!
0
Comment
Question by:jerbell
[X]
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
6 Comments
 
LVL 9

Expert Comment

by:GivenRandy
ID: 2821046
Set the Locked property to True.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 5 total points
ID: 2821084
Use the Style property:
vbComboList
0
 
LVL 7

Expert Comment

by:Joe_Griffith
ID: 2821097
I think what you want is to set the style to "2 - Dropdown List".  This will allow the user to select one of the 5 option but not to enter anything else.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 9

Expert Comment

by:GivenRandy
ID: 2821119
I think you mean vbComboDropDownList, which is an alternative.
0
 
LVL 7

Expert Comment

by:Joe_Griffith
ID: 2821281
You should set the combo's style in the property list to "2 - Dropdown List".  The style is read only at runtime so you cannot set it in code.
0
 

Author Comment

by:jerbell
ID: 2821485
exactly what i wanted
Thanks !!!!!!!!!!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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