[Gambas-user] gb.gui.webview

Martin mbelmonte at belmotek.net
Sun Apr 25 20:40:15 CEST 2021


ok, SetHtml() method is fine, but qt4 is not available SetHtml() so that 
is not retro compatible.

Solutions:

1) Include SetHtml() method in qt4.

2) Modify the code in programs as

If gambas.version < 3.16  then

Webview1.HTML = "the_HTML_Code"

else

Webview1.SetHtml("the_HTML_Code")

endif

But, ¿How to check properly the gambas version?

Tanks.

El 25/4/21 a las 20:11, Benoît Minisini escribió:
> You have to use the SetHtml() method.
>
> You can't retrieve the contents of the page, this is why there is no 
> Html property anymore. 


More information about the User mailing list