Consultor Eletrônico



Kbase P30066: How to prevent the Application user from closing a container object when pressing the escape (ESC) k
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/18/2007
Status: Verified

GOAL:

How to prevent the Application user from closing a container object when pressing the escape (ESC) key?

GOAL:

How to disable the escape ESC key in a container object?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
OpenEdge Category: Language (4GL/ABL)

FIX:

Create a trigger to handle the ENDKEY event, which is generated when the escape (ESC) key is pressed on the container object and then insert a RETURN NO-APPLY Statement into its code. e.g.:

ON ENDKEY OF FRAME gDialog
RETURN NO-APPLY.