Non-editable ComboBoxes?

  • Thread starter Thread starter Ana Lindt
  • Start date Start date
A

Ana Lindt

Hi,

I would like to make my ComboBox non editable, meaning that the user cannot
click on it in order
to type some text but only for selecting one of its pre defined items. How
do I do this using code
(C#) or the designer? I thought there would be a property for this but I
cannot find any.

Many thanks in advance,

Ana L.
 
* "Ana Lindt said:
I would like to make my ComboBox non editable, meaning that the user cannot
click on it in order
to type some text but only for selecting one of its pre defined items. How
do I do this using code

Set its 'DropDownStyle' property to 'DropDownList'.
 
Back
Top