FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ENTER fails in dialog with menu
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
ENTER fails in dialog with menu
Posted: Fri Feb 15, 2008 05: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 !!
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
ENTER fails in dialog with menu
Posted: Mon Feb 18, 2008 06:23 PM
  • Enhancement: Class TComboBox, comboboxes go to next control when return is pressed on them.
FiveWin 9.03 + xHarbour !!
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
ENTER fails in dialog with menu
Posted: Tue Feb 19, 2008 01: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
ENTER fails in dialog with menu
Posted: Tue Feb 19, 2008 04:03 AM

I agree, but in my mind that does not justify this failure in the class!

FiveWin 9.03 + xHarbour !!

Continue the discussion