HelloWorld1
HelloWorld1

Reputation: 14100

No changes in DropDownList

Goal:
The user should not make any changes in the text field in Combobox.

Problem:
I don't want the user to make any changes in the text field. I want the user to make a selection in the DropDownList without any text changes. The same concept will be as ListBox.

Upvotes: 1

Views: 119

Answers (2)

Chris Barlow
Chris Barlow

Reputation: 3314

Change your DropDownStyle property to "DropDownList" for your ComboBox.

Upvotes: 0

Blorgbeard
Blorgbeard

Reputation: 103467

Change the DropDownStyle property to ComboBoxStyle.DropDownList

Upvotes: 1

Related Questions