Consultor Eletrônico



Kbase 13851: How to make RETURN or ENTER act like TAB key for FILL-INs
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to make RETURN or ENTER act like TAB key for FILL-INs


The MS-Windows standard for navigating from widget to widget is to
use the TAB key. Progress Version 7 and above for MS-Windows
therefore defaults to this behavior, despite the fact that on
Version 6 and earlier you could hit the ENTER or RETURN key to move
through fields.

Developers can reinstate the old Version 6 behavior for FILL-INS
by setting the SESSION attribute called DATA-ENTRY-RETURN to YES:

SESSION:DATA-ENTRY-RETURN = YES.

The best place to put this statement is at the beginning of the
application, before any of the widgets have been enabled and
displayed. For instance, if you were working in the UIB you'd want to
put the statement at the top of the Main Block, before running the
ENABLE_UI internal procedure.

Progress Software Technical Support Note # 13851