Read Only Combobox

  • Thread starter Thread starter Chris Kerrison
  • Start date Start date
C

Chris Kerrison

I've got my own Inheritted Version of the standard Winforms Combo
control and I want to add the ability to make this Read Only.

I've added a ReadOnly Property, set the backcolor to my Appropriate
Read-only color and prevented the User typing anything into the box.
Now I want to prevent the user from Selecting anything in the dropdown
list. Any ideas how to do this.


thanks
 
Hi Chris,

I don't fully understand what you are trying to do, have you tried the
Enabled property? it allows you to change the selectedIndex/Item using code
but the user gets a readonly combobox.

Cheers,
 
Back
Top