Kbase 18936: How To Set The ENTER Key To Function As A TAB key to move from one field to another?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/08/2010 |
|
Status: Verified
GOAL:
How can the ENTER key be set to move from one field to another like the TAB key in GUI.
GOAL:
How to change the behavior of the ENTER (RETURN) key to function as a TAB in GUI.
GOAL:
How To Set The ENTER Key To Function As A TAB?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)
FIX:
SESSION:DATA-ENTRY-RETURN can be set to change the behavior of the RETURN key for fill-in widgets of a frame. Setting the SESSION:DATA-ENTRY-RETURN to true will cause the RETURN key to work like a TAB key and will move the focus from one input field to another. If the fill-in is the last widget, it will apply a GO event to the frame. If the widget is not a Fill-in, then the system will apply RETURN behavior.
You can also set this behavior for other widgets such as the browse. The following trigger can be used to accomplish this for all widgets in a frame:
ON RETURN OF FRAME <frame name> ANYWHERE DO:
APPLY "TAB" TO SELF.
RETURN NO-APPLY.
END.