Solved

Stopping User Input On Combo Box

Posted on 2006-06-26
2
198 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

929 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

14 Experts available now in Live!

Get 1:1 Help Now