dimanche 17 mai 2020

Make a CheckBox readonly in winforms

I want to make CheckBox "readonly". I don't want do set Enable to false because I don't want it grayed out. setting AutoCheck to false is better but the CheckBox still blinks on a mouse click. How can I make it not react to the mouse visibly without making it look disabled?

The reason I want this is because making it disabled makes it look as if its not relevant but that is not the case. Setting AutoCheck to false is better, still, if I don't want the user to change it, it makes sense that it should not react to the mouse.




Aucun commentaire:

Enregistrer un commentaire