Re: Cut copy paste without menu.
Re: Cut copy paste without menu.
- Subject: Re: Cut copy paste without menu.
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 17 Jun 2005 17:05:11 -0700
On Jun 17, 2005, at 3:22 AM, Harmanpreet Bachal wrote:
Hi all,
Can someone please tell me how to implement Cut Copy Paste options
in a NSTextView or NSTextField WITHOUT having them in the menu of
the application. I want to Command-C in the NSTextView. Though the
control click of the mouse works but i want to do it through
Command-C of the keyboard.
I second Joar's curiosity about why you want to do it, especially
given the seemingly arbitrary qualification on your other post about
"not using any Carbon."
But if you need to do it for some good reason, I have had success
with putting buttons outside the visible bounds of the window with
keyboard shortcuts and actions that match the standard edit menu.
The explanation for my use of this trick was that I needed edit menu
functionality from a faceless utility app, but somebody later told me
that if I had left my menu bar and edit menu in, then I would have
gotten the keyboard access to them without it being visible. I never
verified this.
Daniel
_______________________________________________
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