Re: Does NSTextField sends delegate messages to itself?

2008-09-15 Thread Ron Fleckner
On 16/09/2008, at 4:46 PM, Graham Cox wrote: On 16 Sep 2008, at 4:37 pm, Ron Fleckner wrote: So my question is, I suppose, does NSTextField send delegate messages to instances of itself? It doesn't, but the shared field editor object does. The text field is the delegate of the shared f

Re: Does NSTextField sends delegate messages to itself?

2008-09-15 Thread Graham Cox
On 16 Sep 2008, at 4:37 pm, Ron Fleckner wrote: So my question is, I suppose, does NSTextField send delegate messages to instances of itself? It doesn't, but the shared field editor object does. The text field is the delegate of the shared field editor when it is active. see: http://dev

Does NSTextField sends delegate messages to itself?

2008-09-15 Thread Ron Fleckner
Greetings, I've subclassed NSTextField so that I can override - acceptsFirstResponder to return NO. I've noticed an unexpected behaviour which I hope is the right thing because now I want to rely on it. To wit: without explicitly setting the text field's delegate, I can receive delegate