Consultor Eletrônico



Kbase P98420: Unable to disable ESC key to end window using RETURN NO-APPLY
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/08/2005
Status: Unverified

SYMPTOM(s):

Unable to disable ESC key to end window using RETURN NO-APPLY

Have a button with CANCEL BUTTON and AUTO-END-KEY properties turned on

Using RETURN NO-APPLY in the ENDKEY and END-ERROR triggers of window and frame

CAUSE:

This is expected behavior. CANCEL Button property activates to specify the button as the one chosen for all ESC key label events for the frame or dialog box.
AUTO-END-KEY property activates to make the button act like ENDKEY when chosen. So when ESC key is pressed, it act like ENDKEY.

FIX:

Turn off AUTO-END-KEY property from the button, by checking off the AUTO-END-KEY check-box in the property sheet of the button.