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.
BTW: I have now tested the IE Web Control in Opera, Chrome, FF, and Edge with PS2020 beta plug-ins and the Apps all crash with some sort of non-graceful completion (in some way, shape or form). IE is the worst case as the crash also completely takes out IE as well.
Note: It might work in IE if you have MS-Windows "Registry" setting TabGrowth set to > 0 as that would then force IE to execute in 32bit mode. That might get the IE Web Control to work as its also a 32bit control. However, with the TabGrowth set to 0 (its normal default), IE will then run in 64 bit mode and that could be why I am seeing the GPF around the 32 IE control.
Regards ... Chris