Re: Make checkbox in table view uneditable

2010-09-15 Thread jonat...@mugginsoft.com
On 15 Sep 2010, at 06:09, Shane Stanley wrote: On 15/9/10 12:29 PM, Keary Suska cocoa-...@esoteritech.com wrote: Checkboxes aren't edit controls, they are buttons, and to my knowledge don't even have an editable property (even though the table column has such a binding). To prevent changing

Re: Make checkbox in table view uneditable

2010-09-15 Thread Michael Watson
On 15 Sep, 2010, at 02:11, jonat...@mugginsoft.com wrote: On 15 Sep 2010, at 06:09, Shane Stanley wrote: On 15/9/10 12:29 PM, Keary Suska cocoa-...@esoteritech.com wrote: Checkboxes aren't edit controls, they are buttons, and to my knowledge don't even have an editable property (even

Re: Make checkbox in table view uneditable

2010-09-15 Thread Stephane Sudre
On Wed, Sep 15, 2010 at 4:29 AM, Keary Suska cocoa-...@esoteritech.com wrote: On Sep 14, 2010, at 5:59 PM, Shane Stanley wrote: I have a table view using Cocoa bindings, and all columns have editable turned off in the Attributes panel. However one column, which contains a checkbox cell,

Re: Make checkbox in table view uneditable

2010-09-15 Thread Shane Stanley
On 15/9/10 7:11 PM, jonat...@mugginsoft.com jonat...@mugginsoft.com wrote: Thanks. I guess it boils down to the fact that a checkbox is a bad choice for just showing a binary state in a table. Checkbox sounds fine to me for this purpose. What about the NSTableColumn enabled binding? Yes,

Re: Make checkbox in table view uneditable

2010-09-15 Thread Sean McBride
On Wed, 15 Sep 2010 02:45:27 -0700, Michael Watson said: If he means that the checkbox would never be toggleable under any circumstances, and that it's purely to *indicate* state and not *control* state, that's the wrong use for a checkbox button. A custom indicator that doesn't look like it

Re: Make checkbox in table view uneditable

2010-09-15 Thread Kyle Sluder
On Sep 15, 2010, at 2:45 AM, Michael Watson mikey-...@bungie.org wrote: If he means that the checkbox would never be toggleable under any circumstances, and that it's purely to *indicate* state and not *control* state, that's the wrong use for a checkbox button. A custom indicator that

Re: Make checkbox in table view uneditable

2010-09-15 Thread Ken Ferry
On Sep 15, 2010, at 8:36 AM, Kyle Sluder kyle.slu...@gmail.com wrote: On Sep 15, 2010, at 2:45 AM, Michael Watson mikey-...@bungie.org wrote: If he means that the checkbox would never be toggleable under any circumstances, and that it's purely to *indicate* state and not *control*

Make checkbox in table view uneditable

2010-09-14 Thread Shane Stanley
I have a table view using Cocoa bindings, and all columns have editable turned off in the Attributes panel. However one column, which contains a checkbox cell, steadfastly remains editable. I've also tried binding its editable property to a boolean property set to NO, but that made no difference.

Re: Make checkbox in table view uneditable

2010-09-14 Thread Keary Suska
On Sep 14, 2010, at 5:59 PM, Shane Stanley wrote: I have a table view using Cocoa bindings, and all columns have editable turned off in the Attributes panel. However one column, which contains a checkbox cell, steadfastly remains editable. I've also tried binding its editable property to a

Re: Make checkbox in table view uneditable

2010-09-14 Thread Shane Stanley
On 15/9/10 12:29 PM, Keary Suska cocoa-...@esoteritech.com wrote: Checkboxes aren't edit controls, they are buttons, and to my knowledge don't even have an editable property (even though the table column has such a binding). To prevent changing a button state (without significant subclassing)