writeprotect a combobox.

  • Thread starter Thread starter J. Odgaard
  • Start date Start date
J

J. Odgaard

Hi

I would like to prevent the user of my application from
writing in a combobox. The user should only be able to
select items from the combobox collection. I this
possible -am I using the wrong control for this?

thanx,
J of DK.
 
J. Odgaard said:
Hi

I would like to prevent the user of my application from
writing in a combobox. The user should only be able to
select items from the combobox collection. I this
possible -am I using the wrong control for this?

Set the DropDownStyle property to ComboBoxStyle.DropDownList.
 
Nope.. you can set the property "DropDownStyle" to "DropDownList"...

HTH,

Bill P.
 
Back
Top