Consultor Eletrônico



Kbase P127248: Browse field VIEW-AS TOGGLE-BOX crashes when typing "y" or "n"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/10/2011
Status: Verified

SYMPTOM(s):

Browse field VIEW-AS TOGGLE-BOX crashes when typing "y" or "n"

Stack Trace details from 10.1B03:
7C9011A7 0012FD50 LdrInitializeThunk+29
7C923F31 0012FDD4 LdrShutdownProcess+142
7C81CD76 0012FEC8 IsValidLocale+8EB
7C81CDEE 0012FEDC ExitProcess+14

GPF when typing the letter 'y' or 'n' while a toggle-box field in a browse is in focus

GPF pressing END while toggle-box field in browse has focus

FACT(s) (Environment):

Windows
OpenEdge 10.1B

CAUSE:

Bug# OE00161618

FIX:

Upgrade to OpenEdge Release 10.1C or later.

FIX:

To workaround this issue you should define a trigger which filters keystrokes in the browse, checks the context, using KEYLABEL(LASTKEY) and the FOCUS handle and manually applies the event you were trying to achieve then uses RETURN NO-APPLY to avoid the default behavior for that limited case:

For example:
ON "y", "n", "Y", "N" OF BROWSE <browse-name> DO:
/* Check context and apply event */
IF FOCUS EQ <table.fieldname> IN BROWSE <browse-name>:HANDLE THEN DO:
..... Do something ...
RETURN NO-APPLY.
END.
END.