home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!peter
- From: peter@cbmvax.commodore.com (Peter Cherna)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: A Style Guide Question
- Message-ID: <37104@cbmvax.commodore.com>
- Date: 17 Nov 92 16:31:21 GMT
- References: <17474@pitt.UUCP> <mwm.2nu7@contessa.palo-alto.ca.us>
- Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
- Organization: Commodore-Amiga, Inc. West Chester, PA.
- Lines: 34
-
- In article <mwm.2nu7@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
- >4.) Add menu items Done and Cancel that are identical to the buttons,
- > and have the shortcuts be Amiga-D and Amiga-C.
-
- This is not a good idea. First of all, Amiga-C is the _standard_ key
- equivalent for "copy to clipboard". Let's try not to abuse those
- standards that have appeared in at least some number of apps.
-
- Second, the fact that menu keys are processed while string gadgets
- are active is effectively a "bug" in Intuition 1.3 and earlier. 2.0
- and higher Intuition cannot readily support this. (Note that I called
- it a bug. I'm not saying that the bug produces undesirable behavior).
-
- There needs to be some modeless way to strike the key-equivalent for
- a gadget even while a string gadget is active. There isn't a good
- universal way right now.
-
- The Amiga Style Guide addresses this problem by recommending that
- <ENTER> in a string gadget deactivate the string gadget but not close
- the window or take any other drastic action. The idea is that <ENTER>
- followed by "D" or "C" would have the desired effect.
-
- Any better solution requires additional support from the OS.
-
- > <mike
-
- Peter
- --
- Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
- {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com
- My opinions do not necessarily represent the opinions of my employer.
- "I believe it's bad luck to be superstitious."
-
-
-