FROM : Ricky Sharp
DATE : Thu Apr 07 19:15:45 2005
On Thursday, April 07, 2005, at 12:10PM, Luc Vandal <<email_removed>> wrote:
>I just want to be able to run a function when the focus (or should I
>use the term first responder? I'm confused) changes to another control.
You're still not answering the question. What _specifically_ does this 'function' of yours do? e.g. Do you update a status bar? Show help content?
And, as suggested, you should use the term 'first responder'.
>Also, when the focus is changing to another control, does that mean
>that the control that has the focus is now the first responder or the
>first responder always remains the same?
No. The first responder will change as expected. Please read up on the docs for NSResponder. There are several methods there that deal with the first responder.
--
Rick Sharp
Instant Interactive(tm)
DATE : Thu Apr 07 19:15:45 2005
On Thursday, April 07, 2005, at 12:10PM, Luc Vandal <<email_removed>> wrote:
>I just want to be able to run a function when the focus (or should I
>use the term first responder? I'm confused) changes to another control.
You're still not answering the question. What _specifically_ does this 'function' of yours do? e.g. Do you update a status bar? Show help content?
And, as suggested, you should use the term 'first responder'.
>Also, when the focus is changing to another control, does that mean
>that the control that has the focus is now the first responder or the
>first responder always remains the same?
No. The first responder will change as expected. Please read up on the docs for NSResponder. There are several methods there that deal with the first responder.
--
Rick Sharp
Instant Interactive(tm)






Cocoa mail archive

