Consultor Eletrônico



Kbase P9387: Event Driven code does not validate fill-in widget
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/23/2008
Status: Verified

SYMPTOM(s):

Frame is defined with the VALIDATE phrase

Fill-in widget has the VALIDATE phrase

The active WAIT-FOR is waiting for CLOSE OF THIS-PROCEDURE

The fill-in widget will not validate until after the WAIT-FOR is complete

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

The frame is not considered finished until the WAIT-FOR has terminated

FIX:

Modify the source code and replace the VALIDATION code with a VALUE-CHANGED or LEAVE trigger for the fill-in widget and place the validation code inside of the widget (this is the normal way of handling application code in an event-driven programming model).