ComboBox.Enabled = False ?

Fist load combobox with values wat you want and then
set combobox dropdown property to dropdownlist

combobox1.dropdownstyle=comboboxstyle.dropdownnlist

Edited 5 Years Ago by Nick Evan: n/a

if you have noticed one can enter data into the combobox just like a textbox by typing directly into the interface. combobox.enable="tru/false"
just disables the user from entering data to the cmbox, what i think is the request is how to eensure that the user uses the provided options of which i dont know. however someone had suggested to me that changing DropDownStyle property to DropDownList migth do the trick!
:P

Thank you guys! I just browsed for the code with read only combo box, then you helped me! Unexpectedly. :-* That's why i joined your community just to say thanks and hopefully to make friends! :)

reneemacaraeg,

I'm glad you got it helpful. If you want to ask question, start your own thread.

Thread Closed.

This question has already been answered. Start a new discussion instead.