• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 949
  • Last Modified:

VB.net ComboBox Force user to select from tge dropdown


In my VB.net app, I have a Windows Form with a ComboBox on it.
What is the best way to force the user to select an item from the drop down
and not type anything into the box that isn't in the drop down.

Murray Brown
Murray Brown
1 Solution
Meir RivkinFull stack Software EngineerCommented:
Change the combobox DropdownStyle property to DropDownList:
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now