ENTER fails in dialog with menu

Post Reply
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

ENTER fails in dialog with menu

Post 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
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post by Anderson.OL »

* Enhancement: Class TComboBox, comboboxes go to next control when return is pressed on them.
FiveWin 9.03 + xHarbour !!
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post by Anderson.OL »

I agree, but in my mind that does not justify this failure in the class!
FiveWin 9.03 + xHarbour !!
Post Reply