• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Second .nib window - Copy key equivalent not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Second .nib window - Copy key equivalent not working


  • Subject: Second .nib window - Copy key equivalent not working
  • From: Sam Ley <email@hidden>
  • Date: Mon, 17 Feb 2003 08:49:50 -0600

Hi,

This is probably a simple problem, but I've been messing with it for a while, and I can't get to the bottom of it myself...

My program has two .nib files, the main file, which consists of just a menu (the program is a status item), and a preferences nib, which is the preferences window, each have their own controller objects. The preferences window has an NSTextView used to display some status reports. I'd like people to be able to copy this information. The main nib file has the Edit menu available and visible, and I haven't overridden copy: in any of the controllers. Copy is set to its default key equivalent, cmnd-C.

This is the problem. When in the preferences window, selecting the text you wish to copy and hitting cmnd-C does nothing. However, selecting the text, going to the menu, and choosing Copy works just fine. You can also drag text out of the textView without trouble.

Why does it respond to the menu item, but NOT respond to the key equivalent? Does anyone have any suggestions on a path I should take to make sure it works?

Thanks in advance!
Peace,
Sam Ley
_______________________________________________
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.

  • Prev by Date: Re: Live previewing of a loop's progress
  • Next by Date: Re: Live previewing of a loop's progress
  • Previous by thread: Re: Archiving an NSMovie...
  • Next by thread: Interface Builder
  • Index(es):
    • Date
    • Thread