TreeView in vb.net
Posted on 2004-04-13
I am building client / server app, and trying to use the treeview.
I want vertical scroll bar but not horizontal scrollbar.
The only property for the treeview I see is "Scrollable"
How do I make it scroll only vertically, not horizontally.
Currently, it is giving me a horizontal scroll bar, even though the length of the text in the tree does not warrant a horizontal scrollbar.
It is not giving me a vertical scrollbar, because the vertical scroll bar is not necessary with the amount I have stored in the tree. It should behave the same for horizontal scrollbar, but it doesn't. I.e. if you can fit everything for each node horizontally, then don't show me the horizontal scroll bar!.... How do I make it bahave this way?