[Gambas-user] webtree select from code

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Nov 12 10:53:14 CET 2022


Le 12/11/2022 à 10:43, Marco Ancillotti a écrit :
> But when I do the same with WebTree on the line where I set selected = 
> true I get:
> 
> /Type mismatch: wanted String, got _WebTreeItem instead/
> 
> The line is the same:
> 
> WebTree1["0"].Selected = True
> 
> What is wrong ? I'm using dev ppa on ubuntu ( 3.17.90 ).
> 
> Thank's,
> marco.
> 

You are not wrong, it's a bug. It's fixed in commit 
https://gitlab.com/gambas/gambas/-/commit/795cd79f61b7a9d8cf1d4bbc69ce2e6869d8e1d2.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list