Consultor Eletrônico



Kbase P17906: Non-printable keys not working properly (CURSOR-LEFT & CURSOR-RIGHT)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/3/2009
Status: Verified

SYMPTOM(s):

Non-printable keys not working properly (CURSOR-LEFT & CURSOR-RIGHT)

Using ON ANY-KEY trigger.

No RETURN statement in trigger code.

Any-key trigger fires when non-printable key is pressed, but the event itself never occurs.

FACT(s) (Environment):

All Supported Operating Systems

CAUSE:

The exact cause is unknown at the time of this writing.

FIX:

Partial workaround is to include

APPLY LAST-EVENT:LABEL TO SELF.
RETURN NO-APPLY.

At the end of the trigger code.


This does not work for all widgets (most notably Browse and Editor widgets), and key combinations such as SHIFT-CURSOR-LEFT (selecting a character) will still not work as expected.