New Developer
New Developer

Reputation: 3305

How do I set combobox text

lets say I have combobox and I have set data source (string list) to it. I don't want to include - Select - to the list. is it possible to display - Select - on dropdown without adding it to datasource. (Is it possible to display text which is not in the list?)

Upvotes: 0

Views: 34

Answers (1)

Muds
Muds

Reputation: 4116

You can make combobox editable and readonly and then set its text.

.IsEditable = True
.IsReadOnly = True 
.Text = "----Select----"

Upvotes: 1

Related Questions