samedi 7 février 2015

Non-Editable NSButton-CheckBox

I have an NSButton styled as a check box and I'd like to deny the user from changing the state if a certain condition is true but NSButton does not have a setEditable: method and the setEnabled: method greys out the control. Is there any way to make achieve this functionality or are there alternative ways to represent data usually represented by checkboxes?





Aucun commentaire:

Enregistrer un commentaire