Re: Make checkbox in table view uneditable

2010-09-15 Thread Ken Ferry
On Sep 15, 2010, at 8:36 AM, Kyle Sluder wrote: > On Sep 15, 2010, at 2:45 AM, Michael Watson 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 che

Re: Make checkbox in table view uneditable

2010-09-15 Thread Kyle Sluder
On Sep 15, 2010, at 2:45 AM, Michael Watson 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 > doesn't look like

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 c

Re: Make checkbox in table view uneditable

2010-09-15 Thread Shane Stanley
On 15/9/10 7:11 PM, "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, that works. It j

Re: Make checkbox in table view uneditable

2010-09-15 Thread Stephane Sudre
On Wed, Sep 15, 2010 at 4:29 AM, Keary Suska 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, steadfastly remains e

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" wrote: >> >>> Checkboxes aren't edit controls, they are buttons, and to my knowledge don't >>> even have an "editable" property (even though the tab

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" 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 stat

Re: Make checkbox in table view uneditable

2010-09-14 Thread Shane Stanley
On 15/9/10 12:29 PM, "Keary Suska" 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) > you must disable

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