I have been unable to google the right keywords to this hopefully easy
answer.
I bind a combobox:
With cboOperator
Dim operator As OperatorDataTable = _company.Operator
.DataSource = operator
.DisplayMember = operator.Name.ColumnName
.ValueMember = operator.OperatorId.ColumnName
End With
When I run the app, unfortunately, I can still type data into the
combobox. I only want users to be able to select from the populated
list.
Is my only solution to filter out keys on keypress or is there
something much simpler I have missed?
Thanks,
Ross
flat_ross - 24 Mar 2005 19:36 GMT
Oh my, up a little late sometimes :(
It has been a while since I coded WinForms. The answer is set the
style to DropDownList
> I have been unable to google the right keywords to this hopefully easy
> answer.
[quoted text clipped - 16 lines]
> Thanks,
> Ross