Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Cannot insert an ActiveX in a tabpage control – PB Docs 2022 – PowerBuilder Library

Cannot insert an ActiveX in a tabpage control – PB Docs 2022

Cannot insert an ActiveX in a tabpage control

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.

Solution

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x