• 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
[newbie] /r invoking button instead of going to textfield?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[newbie] /r invoking button instead of going to textfield?


  • Subject: [newbie] /r invoking button instead of going to textfield?
  • From: Ando Sonenblick <email@hidden>
  • Date: Sun, 15 Sep 2002 13:18:41 -0700

Easy one for you been-around-the-blockers,

I have a window with an NSTextField and an NSButton in it. The button is
set to have return activate it. However, with the NSTextField as the first
responder it "eats" any return key presses.

So how do I make it so that the return key activates the button no matter
who else may be the first responder?

Thx,
Ando
_______________________________________________
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: [newbie] /r invoking button instead of going to textfield?
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Data to String: what encoding? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Data to String: what encoding?
  • Next by Date: Re: [newbie] /r invoking button instead of going to textfield?
  • Previous by thread: Re: Data to String: what encoding?
  • Next by thread: Re: [newbie] /r invoking button instead of going to textfield?
  • Index(es):
    • Date
    • Thread