3xodus
Freshman
Hi again
I've spent too much time reading around for information on this, and trying for myself.. I know it's probably something obvious that I'm not going to find..
I have a TreeView that scrolls vertically due to the amount of nodes, but *dosen't* scroll horizontally as there are no nodes wide enough to need it.
However as a part of my app I have to set TreeView.Scrollable = false;, and later on, back to = true;. When Scrollable = true again, there's a vertical and horizontal scrollbar. None of the nodes have changed, they're all still far from needing horizontal scrolling. It seems that setting the .Scrollable property to true at runtime just automatically adds both scrollbars.
As a side not, the horizontal scrollbar won't even actually scroll. Just to show how pointless it is that it even appears
Is it possible to get rid of the horizontal, and leave the vertical one there? I can't see any properties for this, but I'm hoping there's something...
Thanks for any info guys
[EDIT @ 19th July, 21:30]
I've still not found anything on this unfortunately, however my problem is solved as I've found an alternative way of doing it...
I'm still interested to see if this is possible though, if anyone knows.
I've spent too much time reading around for information on this, and trying for myself.. I know it's probably something obvious that I'm not going to find..
I have a TreeView that scrolls vertically due to the amount of nodes, but *dosen't* scroll horizontally as there are no nodes wide enough to need it.
However as a part of my app I have to set TreeView.Scrollable = false;, and later on, back to = true;. When Scrollable = true again, there's a vertical and horizontal scrollbar. None of the nodes have changed, they're all still far from needing horizontal scrolling. It seems that setting the .Scrollable property to true at runtime just automatically adds both scrollbars.
As a side not, the horizontal scrollbar won't even actually scroll. Just to show how pointless it is that it even appears
Is it possible to get rid of the horizontal, and leave the vertical one there? I can't see any properties for this, but I'm hoping there's something...
Thanks for any info guys
[EDIT @ 19th July, 21:30]
I've still not found anything on this unfortunately, however my problem is solved as I've found an alternative way of doing it...
I'm still interested to see if this is possible though, if anyone knows.
Last edited: