Re: event/notification for focus?
Re: event/notification for focus?
- Subject: Re: event/notification for focus?
- From: Luc Vandal <email@hidden>
- Date: Thu, 07 Apr 2005 12:46:34 -0400
Ok! :) Basically, I need to know when a control (text field, button,
etc.) has gained focus so that I can perform some stuff when that
happens. So if the user clicks on one of the control or is tabbing
through them, I need to know which control has the focus.
Is there a way to achieve this?
Luc
On 7-Apr-05, at 12:36 PM, j o a r wrote:
On 2005-04-07, at 18.26, Luc Vandal wrote:
I don't even understand why it's so difficult to be notified that the
focus has switched to another control... To me it's a pretty basic
thing that should've been included in the API as an event (onFocus)
or a notification (NSFocusChanged). :)
The interesting question, that I'm surprised has not been asked yet,
is of course - what is it that you're trying to do? If something is
difficult in Cocoa, it's probably because you're not doing it the
Cocoa way. Could you give a bit more information on the problem you're
trying to solve?
j o a r
_______________________________________________
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