[Gambas-user] gb.gui.webview
T Lee Davidson
t.lee.davidson at gmail.com
Sun Apr 25 22:36:24 CEST 2021
On 4/25/21 4:02 PM, Martin wrote:
> An optimal solution, thanks for the help.
>
> Regards.
>
> El 25/4/21 a las 21:03, T Lee Davidson escribió:
>> On 4/25/21 2:40 PM, Martin wrote:
>>> But, ¿How to check properly the gambas version?
>>
>> If CInt(Split(System.FullVersion, ".")[1]) < 16 then
>> Webview1.HTML = "the_HTML_Code"
>> else
>> Webview1.SetHtml("the_HTML_Code")
>> endif
>>
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
I had forgotten that Gambas is quite adept at making comparisons on strings based on natural number sorting. You could also do:
System.FullVersion < "3.16.0"
--
Lee
More information about the User
mailing list