Re: event/notification for focus?
Re: event/notification for focus?
- Subject: Re: event/notification for focus?
- From: Ricky Sharp <email@hidden>
- Date: Thu, 07 Apr 2005 12:15:45 -0500
On Thursday, April 07, 2005, at 12:10PM, Luc Vandal <email@hidden> 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)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden