• 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: Option-Key "alternative" application behavior == mnemonics?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option-Key "alternative" application behavior == mnemonics?


  • Subject: Re: Option-Key "alternative" application behavior == mnemonics?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 14 Mar 2002 16:43:42 +0100

On Thursday, March 14, 2002, at 02:31 , John Blackburn wrote:

What's the usual way to handle Option-Key "alternative" application behavior? For example, when the user chooses the Move To Trash menu item (Command-Delete) in my application, I show a confirm sheet. I wish to bypass that sheet if the user's holding down the Option key (Command-Option-Delete).

There might be another way(s), but what would I do is to check in the appropriate action whether there is the NSAlternate modifier in currentEvent.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Option-Key "alternative" application behavior == mnemonics? (From: John Blackburn <email@hidden>)

  • Prev by Date: Re: Why the name Cocoa?
  • Next by Date: Re: Why the name Cocoa?
  • Previous by thread: Option-Key "alternative" application behavior == mnemonics?
  • Next by thread: [SOLUTION] Option-Key "alternative" application behavior == mnemonics?
  • Index(es):
    • Date
    • Thread