• 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: Return key should enter return in textfield and not press default button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return key should enter return in textfield and not press default button


  • Subject: Re: Return key should enter return in textfield and not press default button
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 11 Oct 2010 08:59:52 -0700

On Oct 11, 2010, at 2:21 AM, Thorsten Lemke <email@hidden> wrote:

> Hello,
>
> I have a dialog in my app wich should let the user enter a carriage return.
>
> How can I avoid pressing the default button with return? Only enter should
> press it in this case.

See the documentation for -setFieldEditor:.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Return key should enter return in textfield and not press default button
      • From: John Joyce <email@hidden>
References: 
 >Return key should enter return in textfield and not press default button (From: Thorsten Lemke <email@hidden>)

  • Prev by Date: [MEET] Toronto Cocoaheads / tacow - October 12
  • Next by Date: Re: Is it possible to load 64-bit EFI in Mac Pro
  • Previous by thread: Return key should enter return in textfield and not press default button
  • Next by thread: Re: Return key should enter return in textfield and not press default button
  • Index(es):
    • Date
    • Thread