Consultor Eletrônico



Kbase 33191: Error 4123 when setting an attribute of an OCX during init => remove the OCX trigger procedure
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P3191

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Using ActiveX controls

Window is initializing

WAIT-FOR has not occurred yet

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)

CAUSE:

During initialization, 4GL code may set 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 before a WAIT-FOR is active.

FIX:

Prevent the CONTROL-FRAME from receiving the event before the WAIT-FOR statement has been invoked