Re: controlTextDidEndEditing and buttons...

2009-11-14 Thread Kyle Sluder
On Sat, Nov 14, 2009 at 10:21 AM, Carlo Caione wrote: > To use it do I need to subclass an NSController (NSObjectController) ? No, you just need to make sure that whatever controller you're using conforms to NSEditorRegistration. NSControllers already do, but your text field might be bound to so

Re: controlTextDidEndEditing and buttons...

2009-11-14 Thread Carlo Caione
On Nov 12, 2009, at 10:24 PM, Kyle Sluder wrote: > On Nov 12, 2009, at 12:52 PM, Carlo Caione wrote: > >> How can I send a controlTextDidEndEditing: to a NSTextField when I click on >> another button (without using tab or enter)? > > You want to use NSEditorRegistration. To use it do I need

Re: controlTextDidEndEditing and buttons...

2009-11-12 Thread Kyle Sluder
On Nov 12, 2009, at 12:52 PM, Carlo Caione wrote: How can I send a controlTextDidEndEditing: to a NSTextField when I click on another button (without using tab or enter)? You want to use NSEditorRegistration. --Kyle Sluder ___ Cocoa-dev mailing

controlTextDidEndEditing and buttons...

2009-11-12 Thread Carlo Caione
Hi, How can I send a controlTextDidEndEditing: to a NSTextField when I click on another button (without using tab or enter)? Thanks -- CC___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment