[COCOA] notification of enter/focus event?
[COCOA] notification of enter/focus event?
- Subject: [COCOA] notification of enter/focus event?
- From: Paxton Sanders <email@hidden>
- Date: Fri, 11 Dec 2009 12:23:24 -0600
Sorry if this is a bit too basic, but...
I want to know when the user exits edit fields, so I can check values and provide immediate feedback. I'm using
- (void)controlTextDidEndEditing:(NSNotification *)aNotification
and it works.
I also need to know when a user enters an edit field, so I can provide feedback (like a hint). I was using
- (void)controlTextDidBeginEditing:(NSNotification *)aNotification
but it only works when the user types something.
My question is this: how can I get notification when a user simply enters a field by tabbing to it or mouse-clicking in it (and gives focus to that field)?
Thanks,
Paxton
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden