Consultor Eletrônico



Kbase P4779: Error with OCX when closing a SmartWindow
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Invalid component-handle referenced while processing method/statement: <method or statement name>.
<COM message>
<program name> (5884)

Closing a SmartWindow

Window contains an ActiveX Control (OCX)

CAUSE:

Code to initialize the ActiveX Control was placed in the Main Block

FIX:

Move the code that initializes the ActiveX Control to the initializeObject internal procedure after the RUN SUPER statement.