Re: Paste Command Unavailable for NSStatusItems
Re: Paste Command Unavailable for NSStatusItems
- Subject: Re: Paste Command Unavailable for NSStatusItems
- From: Karl Goiser <email@hidden>
- Date: Sat, 24 Jan 2004 07:15:32 +1100
On 24/01/2004, at 1:21 AM, Peter Maurer wrote:
I am developing an NSStatusItem application and text fields don't
respond to command keys. I presume that this is because there is no
Edit menu associated with a status item object.
Did you delete the default "Edit" menu from your main NIB file? The
keyboard shortcuts you're missing (e.g., command-c, command-v) are
defined by the items in this menu.
Hello Peter,
Yes I did. As an NSStatusItem doesn't have any standard menu items
visible, I thought they would be useless.
Guess what?
You are correct. I put an edit menu back into the application and
viola! command-c, command-v and command-x suddenly work!
Thank you very much!!
Karl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.