Make combobox readonly

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a combobox which contains the different departments at my work place.
However, if the user types another name into the combobox, it is accepted. I
wish to allow only the names already associated with the control. Also, how
can I set the control so that the user can type, for example, the letter "M"
and it takes them to the first instance, which is manager? Visual Studio has
no readonly property in the properties window, and doesn't accept it in code.

Any help would be most appreciated.
 

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

Back
Top