On Oct 12, 2010, at 12:59 AM, Kyle Sluder wrote: > On Oct 11, 2010, at 2:21 AM, Thorsten Lemke <le...@lemkesoft.de> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com