Symptom

After inserting an ActiveX Control into a tabpage, saving the Tab control and reopening it, the ActiveX container is lost.

Environment

PowerBuilder

Reproducing the Issue

1.  Make a userobject from Tab (File - New - PB Object - Standard Visual - tab)

2.  Add a tabpage and then insert an olecustomcontrol (Insert - Control - Ole) and select any Ole Control

3.  The ActiveX Control shows up and everything looks ok. You can edit Properties via the 'OLE Control Properties' button

4.  Save and Close the tabcontrol, and then open it again. the ActiveX Control container is empty the 'OLE Control Name' field in Properties is empty, and you cannot edit the ActiveX Properties anymore.

 

Resolution

Workaround:Embed the activeX in a custom visual object and insert that viusal object in the tabpage.

0
0