[Gambas-user] gb.gui.webview

Martin mbelmonte at belmotek.net
Mon Apr 26 00:20:49 CEST 2021


Hi.

After testing with the version detection and that this method is not 
accurate, I decided to use another more precise method using the symbols 
of the classes, in this case webview.

         xClass = Classes["WebView"]

         If xClass.Exist("HTML") Then
           WebView1.HTML = "The_HTML_Code"
         Else
           If xClass.Exist("SetHtml") Then
             WebView1.SetHtml("The_HTML_Code")
           Endif
         Endif

Regards.



More information about the User mailing list