?
Solved

Combo Box in VB.NET

Posted on 2004-11-12
2
Medium Priority
?
307 Views
Last Modified: 2010-04-17
How do you make a combo box in VB.NET to work while not allowing changes to the text?  When I set to enabled = false, of course, it doesn't work.  Which parameter allows the user to select and disallow the text to be chaned?
0
Comment
Question by:ddepuemd
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
dttri earned 150 total points
ID: 12566117
 Hi,
  You can use:

  ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList

  This way you can select item and cannot change text by typing.
0
 
LVL 7

Expert Comment

by:dttri
ID: 12572383
 Hi,
  I think you should check the guideline for grading an answer:
  http://www.experts-exchange.com/help.jsp#hi73
  The question is easy don't mean the one who answer only get B or C grade.

  Regards,
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.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
Loops Section Overview
Screencast - Getting to Know the Pipeline

621 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