• 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
Re: NSTextField annoyances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField annoyances


  • Subject: Re: NSTextField annoyances
  • From: Greg Titus <email@hidden>
  • Date: Mon, 29 Jul 2002 10:19:13 -0700

On Monday, July 29, 2002, at 09:24 AM, Adrian Rutledge wrote:

Just noticed this annoyance when I got my app to a point where the server starts spitting no text to send errors at me. Is there any way to set an NSTextField to only call its action when I press enter, rather than any time I leave it?

In Interface Builder, select the text field, hit cmd-1 to show the attribute inspector, and change the "Send Action" radio buttons from "On end editing" to "Only on enter".

Or in code, [[myTextField cell] setSendsActionOnEndEditing:NO];

Hope this helps,
-Greg
_______________________________________________
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.

References: 
 >NSTextField annoyances (From: Adrian Rutledge <email@hidden>)

  • Prev by Date: NSToolbar messing with strings?
  • Next by Date: Re: NSToolbar messing with strings?
  • Previous by thread: NSTextField annoyances
  • Next by thread: NSToolbar messing with strings?
  • Index(es):
    • Date
    • Thread