• 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
becomeFirstResponder and resignFirstResponder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

becomeFirstResponder and resignFirstResponder


  • Subject: becomeFirstResponder and resignFirstResponder
  • From: "Shoaib" <email@hidden>
  • Date: Sun, 29 Dec 2002 16:27:54 GMT

I have subclassed NSTextField and overridden becomeFirstResponder and resignFirstResponder methods. Everytime I click in my custom NSTextField, both the methods get called, instead of just becomeFirstResponder. Is there a reason for this?

I want to show a border around the NSTextField while the user is in there, and remove the border when the user has left the NSTextField, but can't seem to because both methods get called at the same time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: becomeFirstResponder and resignFirstResponder
      • From: Mike Ferris <email@hidden>
  • Prev by Date: handling tab overflow in a tab view
  • Next by Date: Re: Getting Mouse Moved Events
  • Previous by thread: timeout on gethostbyaddr() function
  • Next by thread: Re: becomeFirstResponder and resignFirstResponder
  • Index(es):
    • Date
    • Thread