On May 10, 2007, at 13:41 UTC, Terry Ford wrote: > When one thinks about it, there actually *is* a bug but it's *not* in > the editfield but the IDE itself. > > The problem is that many people are used to pressing either the > Return key or the Enter Key on the Number keyypad when they see a > Default "OK" button. If one presses the Enter key, the editor is > closed. When one presses the Return key, it is added to the editfield > as initial text as Joe explained.
I don't see this as a problem (and it's certainly not a bug). Many people are also used to pressing the Return key to insert a line break in a multi-line field. So, the current behavior of having Return to so, but having Enter keys (where available) activate the default button, is a good solution. Yes, you'll occasionally hit the wrong one, but it's not hard to follow it up with Backspace and then Enter. > Solution: Rb should make the OK button a regular button that has to > be clicked on to dismiss the window. Please no. That's fine for mouse users, but many people prefer to keep their hands on the keyboard as much as possible, as it tends to be faster once you've learned the right keystrokes. > PS1. What do people with Laptops do as they usually don't have a > number pad Enter key? :) It doesn't need to be the number pad Enter key; any Enter key will do. On my laptop, this is found to the right of the spacebar. I think there may be other ways to activate it too, such as maybe command-Return or shift-Return or some such. But I'm not sure, since I always just use Enter (and I'm not in a good position to test at the moment). > PS2. I haven't got my XP machine running but I am assuming that > Windows does the same as Mac. It's a little different there in that Windows doesn't distinguish between Return and Enter; they just have two Enter keys instead. I'll let a Windows user speak to how default buttons on a window with multi-line EditFields work there. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Strout Custom Solutions _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
