Re: Getting notification when NSTextFieldCell end editing in a table view

2010-06-21 Thread Gustavo Pizano
Sorry.. go it, I was missing something. declare my Controller that implements that protocol :S G. On Jun 21, 2010, at 3:17 PM, Graham Cox wrote: > > On 21/06/2010, at 11:10 PM, Gustavo Pizano wrote: > >> I can't assign any delegate to the cell but to its view, so :S Im kinda >> lost he

Re: Getting notification when NSTextFieldCell end editing in a table view

2010-06-21 Thread Gustavo Pizano
Sorry, as docs says: The NSControlTextEditingDelegate protocol defines the optional methods implemented by delegates of objects that are subclasses of NSControl. so I guess NSTableView should call this methods .. but it isn't shall I add something else than setting the delegate? G. On Jun 2

Re: Getting notification when NSTextFieldCell end editing in a table view

2010-06-21 Thread Gustavo Pizano
Graham hello. But those methods are delegate methods for NSTextFields no? even if I implemented them they are not called, because the control view its NSTableView, unless im doing something really wrong. :( G. On Jun 21, 2010, at 3:17 PM, Graham Cox wrote: > > On 21/06/2010, at 11:10 PM,

Re: Getting notification when NSTextFieldCell end editing in a table view

2010-06-21 Thread Graham Cox
On 21/06/2010, at 11:10 PM, Gustavo Pizano wrote: > I can't assign any delegate to the cell but to its view, so :S Im kinda > lost here... There is only one cell, and only one field editor. The view will tell you when it ends editing (and begins for that matter), so the most appropriate h

Getting notification when NSTextFieldCell end editing in a table view

2010-06-21 Thread Gustavo Pizano
Hello all. I think this has very simple question, yet I hadn't figure it out. I need to change the textColor of the NXTextFieldCell when the user its editing, and when the user finish editing put back the original color. I have this in the NSTableViewDelegate method: - (BOOL)tableView:(NSTabl