Kbase P58476: Cannot enter control characters into a FILL-IN
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/17/2003 |
|
Status: Unverified
SYMPTOM(s):
Cannot enter control characters into a FILL-IN
Cannot APPLY CHR(29) into a FILL-IN
Using special hardware that is seen from the system as a normal keyboard.
CAUSE:
Expected behavior. Control characters are not a printable characters and are rejected by the fill-in.
FIX:
Use a system trigger to replace the control character with some other character. Then convert the new character back to control character when the input is complete.
For example:
DEF VAR MyField AS CHAR.
DEF FRAME f MyField.
/* keylabel(29) = "CTRL-]" */
ON 'CTRL-]' ANYWHERE
APPLY "*".
UPDATE MyField WITH FRAME f.
MESSAGE REPLACE(MyField, "*", CHR(29)).