Multiple shortcuts for one button
Multiple shortcuts for one button
- Subject: Multiple shortcuts for one button
- From: Bert Torfs <email@hidden>
- Date: Fri, 10 Feb 2006 17:40:24 +0100
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:
This email sent to email@hidden