Is this a bug or my lack of knowledge?
In my application I have a command button to insert lines into a datawindow which displays different tables depending on the dataobject. For some tables clicking the button opens a response window for more extensive editing (different tables open different response windows). It works just fine for most of the response windows. However if the response window contains a custom ole object, the clicked insert button vanishes when the response window opens. I added Messageboxes to display the button properties. The properties of the button say it is visible and in the same location. It’s just not visible or clickable.
After trying posts and yields and etc …… I finally made it work. I added a hidden button and put the focus on that hidden button before I posted the “Clicked’ event to the button. However this only works once. Click it a second time and the original button disappears again.
The custom ole object is the Microsoft Web Browser object.
This is a PB12.1 app converted to PB2017 R3 and being converted to PowerServer.