?
Solved

Make a combo box not editable

Posted on 2005-04-06
2
Medium Priority
?
480 Views
Last Modified: 2013-11-20
I have a combo box created with VS.NET 2003 and in the properties I can't seem to see an option as to how to make it not editable.  Right now users can change the text in the combo box like they would a text box.  I want static options in the combo box.

PT
0
Comment
Question by:ptrennum
  • 2
2 Comments
 
LVL 3

Expert Comment

by:mactep13
ID: 13720340
Set the property of the the ComboBox to use DropList not DropDown.
0
 
LVL 3

Accepted Solution

by:
mactep13 earned 1000 total points
ID: 13720385
What I meant is that set the Type value of the ComboBox Property to say DropList, not Dropdown or Simple. DropList will prevent the items to be editable.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 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