• 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
NSTextField taking back first responder status?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField taking back first responder status?


  • Subject: NSTextField taking back first responder status?
  • From: Josh Burnett <email@hidden>
  • Date: Wed, 19 Oct 2005 20:21:07 -0400

My application has (among other things) some text fields and a button that executes a function when the return key is pressed. One of the things that the function does is give the first text field firstResponder status.

Here's the strange part: when I click on the button, everything works. When I hit 'return' I can see the focus shift to the first text field, then right back to whichever field the focus just came from! What's going on here? Do text fields do something special when the return key is pressed? How can I stop this?

Thanks a lot,

Josh

_______________________________________________
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


  • Prev by Date: Re: views from nibs
  • Next by Date: Re: tableViewSelectionDidChange not being called after selectionShouldChangeInTableView?
  • Previous by thread: Re: is ObjectAlloc broken?
  • Next by thread: Universal Binaries and supporting legacy OS
  • Index(es):
    • Date
    • Thread