• 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 changing first responder on return key not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField changing first responder on return key not working


  • Subject: NSTextField changing first responder on return key not working
  • From: Tod Cunningham <email@hidden>
  • Date: Sun, 18 Jul 2004 22:19:31 -0400

I have a very simple window with a couple of text fields and a button. The button is set with a key equivalent of return. When the return key is pressed (via the button connection) I clear the text fields and want to put the first responder back to the 1st text field. When I do this by pushing the button with the mouse it works great. However, when I press return the focus briefly changes to the 1st field (long enough for me to see the focus ring) and then it goes back to whichever field I pushed the return button in. Any ideas on what is going on?

- Tod
_______________________________________________
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.


  • Prev by Date: Pref Pane building questons
  • Next by Date: Re: Build Failure
  • Previous by thread: Re: Pref Pane building questons
  • Next by thread: [NSStringDrawingTextStorage textContainerForAttributedString:] leaking?
  • Index(es):
    • Date
    • Thread