[Gambas-user] TreeView - programmatically changed selection

Benoît Minisini gambas at ...1...
Mon Jun 15 13:40:14 CEST 2009


> With the TreeView (using gui.qt), I can change the "internal cursor" using
> .MoveTo, .MoveUp, etc. but the user-visible selection does not change. Is
> there any way to do this programmatically?
>
> Thanks,
>
> Ian

You manipulate the TreeView selection with:

* The TreeView.Current property.
* The TreeView[ItemKey].Selected property.

Regards,

-- 
Benoît




More information about the User mailing list