Combobox readonly

blumonde

Well-known member
Joined
Jul 26, 2005
Messages
68
Programming Experience
Beginner
Hello folks,

I have a dropdown list combobox. I would like to make it readonly so that users will have to select an item from the list -- instead of typing in their own item.

How can I set the combobox to be like that? It doesn't have the readonly option.

Please help.

Cheers,

blumonde
 
Last edited:
Hey blumonde,

I'm not sure if you're referring to the standard ComboBox or one you've developed yourself (in which case I'm not sure how you'd go about doing this). However if it's the standard combobox then you'd need to set the DropDownStyle to DropDownList.
 
BadgerByte said:
Hey blumonde,

I'm not sure if you're referring to the standard ComboBox or one you've developed yourself (in which case I'm not sure how you'd go about doing this). However if it's the standard combobox then you'd need to set the DropDownStyle to DropDownList.

Hi BadgerByte,

I use standard combobox. Thanks for the tip. This is what I was looking for.

Cheers :)

blumonde
 
Back
Top