Consultor Eletrônico



Kbase P148834: How to write a trigger to fire on all ALT-key combinations
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/07/2009
Status: Unverified

GOAL:

How to write a trigger to fire on all ALT-key combinations

GOAL:

How to capture ALT-key sequences

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

FIX:

The following code will process all ALT-key sequences:
ON ANY-KEY OF FILL-IN-1 IN FRAME F-Main
DO:
IF LASTKEY > 1024 AND LASTKEY < 2047 THEN
DO:
MESSAGE "ALT-KEY used".
APPLY my-event TO FILL-IN-1.
END.
END

ON my-event ANYWHERE DO:
CASE statement to cover ALT-KEYS.
END.