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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top