On Dec 11, 2009, at 10:23 AM, Paxton Sanders wrote:

> 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)?

How about  -becomeFirstResponder ?

    Cheers,
        . . . . . . . .    Henry


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to