Re: Return key should enter return in textfield and not press default button
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