Re: Multiple shortcuts for one button
Re: Multiple shortcuts for one button
- Subject: Re: Multiple shortcuts for one button
- From: Robert Abernathy <email@hidden>
- Date: Fri, 10 Feb 2006 16:56:35 +0000
How about putting a second "OK Button" that is one pixel big (and
transparent, etc.) that has the second keystroke and is connected to
the same action as the real OK?
On 10 Feb 2006, at 16:40, Bert Torfs wrote:
Hi all,
I have a sheet containing multi-line text edit fields. Pressing
return when one of these is the current responder causes the carret
to go to the next line in the control, which is good.
The Ok button of that sheet is mapped to the return key as well,
which is standard behaviour for sheets I guess.
But when the user is in one of the multi-line edit fields and he
has finished entering text, he must reach for his mouse and click
the 'Ok' button in order to dismiss the sheet. Alternatively he can
press a few tabs until a subview that does not eat becomes the
first responder.
As my application is very data entry driven, I want to minimise the
number of times the user has to switch between keyboard and mouse
and the number of keystrokes the user has to perform. There fore, I
would like to map the Ok button to - lets say - both command-return
and return. Is there an easy way to do so?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40musicunfolding.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden