Page 1 of 1

ENTER fails in dialog with menu

Posted: Fri Feb 15, 2008 5:20 pm
by Anderson.OL
When insert menu in dialog the ENTER doesn't work.

Sample compiled with source in link -> http://www.sendspace.com/file/biwtyr

Posted: Mon Feb 18, 2008 6:23 pm
by Anderson.OL
* Enhancement: Class TComboBox, comboboxes go to next control when return is pressed on them.

Posted: Tue Feb 19, 2008 1:11 am
by James Bott
Keep in mind that the standard behavior of Windows apps is for the Enter key to cause the default pushbutton (usually OK) to be pressed. Unlike DOS apps which used the Enter key to move from field to field, Windows apps use the Tab key. If you force the Enter key to move from field to field, then the user must use the mouse to close a dialog (or move throug all the fields to get to the default button). Most users will not like this.

If you are moving users from an old DOS app to a Windows version, they will complain for a short time, then they will get over it.

James

Posted: Tue Feb 19, 2008 4:03 am
by Anderson.OL
I agree, but in my mind that does not justify this failure in the class!