Kbase P146413: control_load ADM2 procedure call in smart.p refreshes the OCX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/22/2009 |
|
Status: Unverified
SYMPTOM(s):
control_load ADM2 procedure call in smart.p refreshes the parent window OCX
The control_load call in smart.p executes in the parent Window that contains an OCX, refreshing the OCX and removing its details.
When a child smartWindow is instantiated, the calls to control_load from smart.p when the child smartObjects are created, executes in the parent window.
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
CAUSE:
The Application has added the parent SmartWindow into the session super procedure stack with:
SESSION:ADD-SUPER-PROCEDURE(hAppWin).
Because this window has an OCX and a control_load procedure, calls from the child windows objects execute in this Window as they look for the control_load procedure up the session super procedure stack. This refreshes and removes the parent windows OCX data.
FIX:
Remove the line in the code adding the parent window into the session super procedure stack.