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

Re: Command-. And sheets


  • Subject: Re: Command-. And sheets
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 16 Mar 2006 09:51:36 -0800
  • Thread-topic: Command-. And sheets

On Wed, 15 Mar 2006 14:13:04 -0800, Mark Alldritt <email@hidden>
said:
>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?

Just the other way round - it should just work (as you can easily confirm by
making a tiny project that does nothing but put up a sheet with a cancel
button in it), so you should suspect that your code is doing something
special that prevents it from working (such as interfering with key
equivalents or some other aspect of the window's message-sending apparatus).
m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Prev by Date: Custom key bindings at runtime
  • Next by Date: Re: Full Keyboard Access for controls within a table
  • Previous by thread: Re: Command-. And sheets
  • Next by thread: Maximum simultaneous NSURLConnections?
  • Index(es):
    • Date
    • Thread