Kbase P134614: 4GL/ABL: How to change the default behavior that clears the a FILL-IN widget when typing in it on en
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  21/05/2009 |
|
Status: Verified
GOAL:
4GL/ABL: How to change the default behavior that clears the a FILL-IN widget when typing in it on entry?
GOAL:
How can I change the behavior to OVERWRITE or INSERT instead of the default CLEAR when entering and starting to type in a FILL-IN widget?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
FIX:
To change the default behavior to OVERWRITE instead of the default CLEAR when entering and starting to type in a FILL-IN widget, use its ENTRY event trigger to set its AUTO-ZAP attribute to FALSE. For example:
ON ENTRY OF Customer.Name IN FRAME DEFAULT-FRAME
DO:
SELF:AUTO-ZAP = FALSE.
END.
In Windows Graphical User Interface environments (GUI), the above code changes the default action from CLEAR to INSERT.
In UNIX and Windows Character User Interface environments (CHUI or TTY), the above code changes the default action from CLEAR to OVERWRITE.
In UNIX and Windows Character User Interface environments, the keyboard INSERT function key may be used to toggle between the INSERT and the OVERWRITE input modes.