Kbase P6029: Error 4123 when setting an attribute of an OCX => make the action come once WAIT-FOR is active
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/18/2009 |
|
Status: Verified
SYMPTOM(s):
None of the widgets used in the WAIT-FOR statement are in a state (such as SENSITIVE) such that the specified event can occur. WAIT-FOR terminated. (4123)
ActiveX Controls
Window is initializing
WAIT-FOR has not occurred yet.
Cannot afford to remove OCX trigger procedure that makes the problem
FACT(s) (Environment):
Windows
Progress 9.X
CAUSE:
During initialization, a 4GL code sets one or more properties of an OCX that makes this OCX publish an event. This event is then received and fired by the CONTROL-FRAME that holds the OCX whereas no WAIT-FOR is active yet.
FIX:
Initialize the OCX once the WAIT-FOR is active. A PSTimer should be used to achieve that. See Progress Solution p3191 for an easier fix when the OCX trigger procedure can be removed