Home All Groups Group Topic Archive Search About

combobox prohibit value change

Author
3 Aug 2006 12:12 AM
Zhiv Kurilka
Hi,
I need a drop down combobox, where user can only select values, but not
change text.
But I see  no combobox.Readonly or combobox.Editable property.
Please help,

Author
3 Aug 2006 12:30 AM
FishingScout
You can set the dropdownsytle to dropdownlist like this:

ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList

or set the attribute in the designer.


Zhiv Kurilka wrote:
Show quoteHide quote
> Hi,
> I need a drop down combobox, where user can only select values, but not
> change text.
> But I see  no combobox.Readonly or combobox.Editable property.
> Please help,