Hello, I just upgraded from Powerbuilder 10 to Powerbuilder 2021 and I want to use the new WebBrowser object you are providing. I cannot find any good example or tutorial about how to use it. I haven't been able to load a web page so far. I am setting up a default url and nothing happens. Can you help me please? I need a step by step guide because I am using this object for the first time. The documentation isn't very helpful.
Yes, have a look at the open event of the application object. It seems to be important that that code (WebbrowserSet() ) is only called in that specific script. As far as I understood it has to be called before any initialization of any webbrowser control, which makes the apps open event the perfect place to do so.
There are many outstanding tickets for the webbrowser control. In my personal opinion I can't affort to use it in production yet, but Appeon is working on integrating the latest versions of the "CEF" webbrowser control (which is the one we are using now).
Maybe a reason could be that you migrated your project? Something in the source code of the applicaton object's "additional properties" maybe pointing to the wrong runtime.
good luck!