Consultor Eletrônico



Kbase 13319: ANY-KEY, ANY-PRINTABLE trigger on int field affects cursor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
ANY-KEY, ANY-PRINTABLE trigger on int field affects cursor

When using a trigger of type ANY-KEY or ANY-PRINTABLE on a fill-in
field defined as INTEGER, the cursor will no longer work correctly.
After the first digit is typed in, the cursor is frozen to the
position before the last digit, instead of behind the last inserted
digit.

Example:

DEF VAR fil1 AS INT VIEW-AS FILL-IN.
DEF FRAME f fil1 WITH SIZE 50 BY 10.
ON ANY-PRINTABLE ANYWHERE DO:
/* any code */
END.

APPLY "ENTRY" TO fil1.
WAIT-FOR WINDOW-CLOSE OF CURRENT-WINDOW.

Progress Software Technical Support Note # 13319