Solved

Stopping User Input On Combo Box

Posted on 2006-06-26
2
197 Views
Last Modified: 2010-04-23
Hi,

Is there any way to stop the user entering data into combo box fields in VS 2005?

Thanks.
0
Comment
Question by:AMLabels
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 125 total points
ID: 16982406
Hi AMLabels,

combobox1.DropDownStyle=ComboBoxStyle.DropDownList

Or in the design view set the DropDownStyle property to DropDownList. This will prevent access to the edit area of the combobox.

Tim Cottee
0
 
LVL 7

Expert Comment

by:pradeepsudharsan
ID: 16982436
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now