• 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
Command-. And sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Command-. And sheets


  • Subject: Command-. And sheets
  • From: Mark Alldritt <email@hidden>
  • Date: Wed, 15 Mar 2006 14:13:04 -0800
  • Thread-topic: Command-. And sheets

Hi,

This feels like a FAQ, but nothing good turned up on Google.

I have a series of sheets in my app with Cancel buttons.  The key equiv on
this buttons is set to escape (\E).  The documentation seems to suggest that
Cocoa will respond to Escape or Command-., but in my application Command-.
is being ignored.

Is there something special I need to do get this working?

I've tried defining the NSResponder cancelOperation: and cancel: methods on
my controller, and setting the window's delegate, but that has no observable
effect.

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 4.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  FaceSpan 4.3 - AppleScript RAD
                                   Affrus 1.0 - Perl Debugging


 _______________________________________________
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

  • Follow-Ups:
    • Re: Command-. And sheets
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Reporting/Printing engine
  • Next by Date: Re: Command-. And sheets
  • Previous by thread: Re: Reporting/Printing engine
  • Next by thread: Re: Command-. And sheets
  • Index(es):
    • Date
    • Thread