Consultor Eletrônico



Kbase P75199: Dyn2.1A: Can define RETURN trigger only for FILL-IN widget
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/04/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

Cannot define RETURN / ENTER trigger in the dynamic property sheet for a COMBO-BOX widget

Can define RETURN / ENTER event in the dynamic property sheet only for FILL-IN widget.

Dynamics 2.1A01

CAUSE:

Known issue.  The dyn property sheet let us define a RETURN trigger only for FILL-IN's although it is a valid event for other widget types.

FIX:

Do it manually after RUN SUPER in the intializeObject of your SDV:
h = widgetHandle("").
ON 'RETURN' OF h PERSISTENT RUN myReturnKeyEventProcedure IN TARGET-PROCEDURE.