Kbase P78037: Smart Window generate error 4122 when run from a parent regular window
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/12/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Smart Window generate error 4122 when run from a parent regular window
Invalid widget handle used in WAIT-FOR statement. WAIT-FOR terminated. (4122)
CAUSE:
Parent and child windows are closed in opposite order.
When using WAIT-FOR statements in an application, programmers should take precautions to make sure that only one WAIT-FOR is "active" at any one time. The PROGRESS 4GL does not do this kind of housekeeping automatically
FIX:
Ensure that the Smart Window is closed on the close of the parent regular window as explained in solution P39054 P39054, How to run a Smart Window from a regular window and ensure that the Smart Window is closed on the close of the parent regular window?