Re: Command-W
Re: Command-W
- Subject: Re: Command-W
- From: "I. Savant" <email@hidden>
- Date: Tue, 22 May 2007 14:26:16 -0400
On 5/22/07, Brian Weitzner <email@hidden> wrote:
Hi,
I'm in the finishing stages of my app, and I realized that the
Command-W key combinations produces a beep instead of closing the
window. I thought that Command-W was a property that was built into
the framework, and not one that has to be implemented (am I
correct?). Anyhoo, any ideas on getting it to work?
A shortcut key combo like Cmd-W is a "key equivalent" / "key
modifier" combination on a menu item. In this case, "Cmd-W" is usually
the "close" command to close the current window. The Close menu item,
in a default MainMenu.nib usually targets First Responder with an
action of "performClose:" ...
My guess is either your Close menu item has lost its key equiv or
you've disconnected it from its action.
Afterall, everyone loves Command-W... Thanks.
Not necessarily. For whatever reason, some people have an aversion
to keyboard shortcuts.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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: | |
| >Command-W (From: Brian Weitzner <email@hidden>) |