1. hoai bao
  2. PowerBuilder
  3. Monday, 27 September 2021 09:23 AM UTC

dear all
hello
I have a problem with Web Browser PowerBuilder. css can't load. I have searched the documentation for this section and have not found any mentioning this issue. Do you have any solution to fix this problem? I am using PB version 105 or can give me solution with any version
thank you!

Attachments (3)
hoai bao Accepted Answer Pending Moderation
  1. Monday, 27 September 2021 10:22 AM UTC
  2. PowerBuilder
  3. # 1

 

I tried it with 12.6 pb and it also does not work

 

Thanks for your feedback

Comment
  1. René Ullrich
  2. Monday, 27 September 2021 11:08 AM UTC
It is not a PowerBuilder problem! It is a limitation of the MS WebBrowser ActiveX control!

With Appeon PB (newest version is 2021) you can change to another (native) control.
  1. Helpful 2
  1. Armeen Mazda @Appeon
  2. Monday, 27 September 2021 18:25 PM UTC
Adding to what Rene said, PB 2021 uses Chromium Web browser it should have no problem to properly display HTML5 pages.
  1. Helpful 1
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 27 September 2021 10:14 AM UTC
  2. PowerBuilder
  3. # 2

With PB 10.5 you are talking about MS Webbrowser ActiveX control?

The MS Webbrowser ActiveX runs by default in compatibility mode. So I think it doesn't support CSS in this mode. You may change the default compatibility mode by changing registry key (FEATURE_BROWSER_EMULATION, see here for more details: https://stackoverflow.com/questions/17922308/use-latest-version-of-internet-explorer-in-the-webbrowser-control).
Or you may force a compatibility mode with X-UA-Compatible meta tag (e.g. IE=edge) in your webpage.

 

Try the newest Appeon PowerBuilder version, It has a modern chromium based webbrowser control.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.