Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read Only ComboBox

Quirks of Framework 2.0

Read Only ComboBox

by  Qik3Coder  Posted    (Edited  )
I searched the web all day yesterday for how to get a standard combo box to be readonly. There were API calls, SendMessage examples, swapping out the combobox with a textbox.

If you need/want your combo box to be readonly you just set the DropDownStyle property to DropDownList.

I don't know why they couldn't use the readonly property like everyone else.

Just an FYI,

Qik3Coder
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top