[Gambas-user] TreeView scrolling
T Lee Davidson
t.lee.davidson at gmail.com
Wed Mar 11 17:25:19 CET 2020
On 3/10/20 1:36 PM, Rolf-Werner Eilert wrote:
> In a TreeView, there should be the possibility to move the contents so it is completely visible. At least it seems so, there is
> ScrollX, Scroll(X, Y) etc.
>
> The values are integers, but what are the units? Is it screen pixels? I tried a bit to compute with ScrollWidth, but the values
> don't seem to match.
>
> Or is it meant to do something completely different?
>
> Thanks for any help!
>
> Regards
> Rolf
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Perhaps http://gambaswiki.org/wiki/comp/gb.qt4/_treeview_item could help you.
I haven't tried it, but I think you might be able to do something like:
TreeView1.Scroll(TreeView1.Item.X, TreeView1.Item.Y)
--
Lee
More information about the User
mailing list