Re: Controls & Key Equivalents

Eric Gorr <[email protected]> Mon, 22 Nov 2010 17:56:03 -0500
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Nov 22, 2010, at 5:47 PM, Christiaan Hofman wrote:

> On Nov 22, 2010, at 23:25, Eric Gorr wrote:
> 
>> Ok.
>> 
>> Then, what solutions, if any, have you seen people use in modern cocoa applications?
>> 
> 
> For what? 

In Cocoa, one is allowed to assign key equivalent to controls like Push Buttons. The default implementation of a Push Button does not provide any way to display to the user what that key equivalent is.

If you have seen any application which does display what that key-equivalent is, I would be interested in learning what they did. One person mentioned elsewhere that they seemed to recall Mac OS used to show key equivalents of the Don't Save, Cancel, Save buttons when the user held down the command key. I too seem to have a vague memory of that, but, Apple seems to have dropped that particular UI design a long time ago.

If you still wanted further context for the original question, consider a push button on a modal dialog.