Re: Controls & Key Equivalents

Kyle Sluder <[email protected]> Mon, 22 Nov 2010 16:31:11 -0800
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Mon, Nov 22, 2010 at 4:24 PM, Eric Gorr <[email protected]> wrote:
>> WHAT does your button DO?
>
> I don't always know. But, perhaps, bring up another dialog.

Then nobody can answer the question.

> It may not always be a Push Button, but a check box that would enable or disable functionality elsewhere in the application.

Then this entire exercise is futile because unless your entire app
only exists in one window the button will never get the keypress
event.

> The goal is to provide a shortcut to the functionality, making it unnecessary for the user to click.

This is what menu items are for.

>> But the whole point is really moot. Just don't assign key shortcuts to
>> nonstandard buttons. They're a holdout from NEXTSTEP.
>
> Interesting. So, you would consider the functionality deprecated or argue that it should be considered deprecated?

Not deprecated, but obsolete. Aside from the specific cases of
Save/Don't Save, OK, and Cancel, there's really no need to add
shortcut keys to buttons, checkboxes or anything else. You can't
operate Mac OS X without a mouse.

--Kyle Sluder