• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[COCOA] notification of enter/focus event?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

  • Follow-Ups:
    • Re: [COCOA] notification of enter/focus event?
      • From: Matthew Lindfield Seager <email@hidden>
    • Re: [COCOA] notification of enter/focus event?
      • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Prev by Date: NSURL Name of a File: Content nor Attribute, how to check for modification?
  • Next by Date: Re: NSNumber stringValue
  • Previous by thread: Re: NSURL Name of a File: Content nor Attribute, how to check for modification?
  • Next by thread: Re: [COCOA] notification of enter/focus event?
  • Index(es):
    • Date
    • Thread