• 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: John Joyce <email@hidden>
  • Date: Tue, 12 Oct 2010 08:33:52 +0900

On Oct 12, 2010, at 12:59 AM, Kyle Sluder wrote:

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

Just FYI, the default behavior is that Option+Return will create a return character in a text field._______________________________________________

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

References: 
 >Return key should enter return in textfield and not press default button (From: Thorsten Lemke <email@hidden>)
 >Re: Return key should enter return in textfield and not press default button (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Trouble binding against transient Core Data property
  • Next by Date: Re: main window disappears on resize
  • Previous by thread: Re: 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