Make combobox uneditable....

R

RMZ

Is there a property to set in order to make it so the user can not edit
the value of the currently selected item in a ComboBox, default is
editable.
 
H

Herfried K. Wagner [MVP]

RMZ said:
Is there a property to set in order to make it so the user can not edit
the value of the currently selected item in a ComboBox, default is
editable.


Check out the 'DropDownStyle' property.
 
R

Rad [Visual C# MVP]

Is there a property to set in order to make it so the user can not edit
the value of the currently selected item in a ComboBox, default is
editable.

You could set the DropDownStyle of the combo box to DropDownList
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top