FROM : Corbin Dunn
DATE : Tue Jun 27 20:03:11 2006
>
> How do I prevent this? Do I have to subclass my NSTableView? If so,
> in which method would I do it? -doubleAction: is called "when the
> user double-clicks a column header or an uneditable cell", and my
> cells are not technically "uneditable"--or are they? I think I'm
> beginning to get confused...
>
One easy way is to subclass and override
editColumn:row:withEvent:select to do nothing if it is your cell that
you don't want to be edited.
--corbin
DATE : Tue Jun 27 20:03:11 2006
>
> How do I prevent this? Do I have to subclass my NSTableView? If so,
> in which method would I do it? -doubleAction: is called "when the
> user double-clicks a column header or an uneditable cell", and my
> cells are not technically "uneditable"--or are they? I think I'm
> beginning to get confused...
>
One easy way is to subclass and override
editColumn:row:withEvent:select to do nothing if it is your cell that
you don't want to be edited.
--corbin
| Related mails | Author | Date |
|---|---|---|
| Mike Wright | Jun 27, 17:22 | |
| Matt Neuburg | Jun 27, 19:27 | |
| Corbin Dunn | Jun 27, 20:03 | |
| Keith Wilson | Jun 27, 20:45 | |
| Mike Wright | Jun 29, 00:50 |






Cocoa mail archive

