ENTER fails in dialog with menu

ENTER fails in dialog with menu

Postby Anderson.OL » Fri Feb 15, 2008 5:20 pm

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

Postby Anderson.OL » Mon Feb 18, 2008 6:23 pm

* Enhancement: Class TComboBox, comboboxes go to next control when return is pressed on them.
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby James Bott » Tue Feb 19, 2008 1:11 am

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Anderson.OL » Tue Feb 19, 2008 4:03 am

I agree, but in my mind that does not justify this failure in the class!
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken and 34 guests

cron