combo box

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

Guest

Hello
How does one prevent the user from overtyping in a combo box

thank you in advanc

Robert
 
* "=?Utf-8?B?Um9iZXJ0IEJhdHQ=?= said:
How does one prevent the user from overtyping in a combo box.

Set the combobox's 'DropDownStyle' property to 'DropDownList'.
 
Hi,

ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList



Ken
 
Simply set the DropDownStyle of the ComboBox to "DropDownList". This
displays an un-editable list of values for the user to select from. The
default setting of "DropDown" allows the user to type values into the
combobox...
 

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