-
August 23rd, 2011, 10:08 PM
#1
VScroll in tree view
how to do vertical scrolling in tree view?.?
-
August 24th, 2011, 12:43 AM
#2
Re: VScroll in tree view
Enable the scrollers ({object}.scrollbars = Both ) and if the loaded data is bigger that the viewport of the object the scroller will appear.....
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
August 24th, 2011, 01:32 AM
#3
Re: VScroll in tree view
You need to make sure the Scrollable property is set to True
-
August 24th, 2011, 09:18 AM
#4
Re: VScroll in tree view
Isn't that the default setting?
Tree will only scroll when the list is longer than the view port.
Always use [code][/code] tags when posting code.
-
August 24th, 2011, 09:38 AM
#5
Re: VScroll in tree view
Yes it is the default setting. It might have got set to False by accident
-
August 24th, 2011, 10:42 AM
#6
Re: VScroll in tree view
Are we enabling the ability to scroll, or actually doing it?
-
August 25th, 2011, 12:48 AM
#7
Re: VScroll in tree view
If the OP could get back to us we'd know for sure.. but the Tree view does have built in scroller code, so you just have to enable it...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
August 25th, 2011, 08:12 AM
#8
Re: VScroll in tree view
Ah yes similar to EnsureVisible, the selected item is scrolled into view automatically. I myself actually needed code to scroll the treeview to a desired increment more flexibly. For example keeping the main tree items visible, without scrolling wildly outward to distant branches. Since scrolling could be horizontal or vertical.
I was also thinking we should make sure that the OP wanted to do this with in-process vb.net treeview, and not cross-process third party treeview.
I guess since the OP may not know how to formulate these questions, then it is sort of left up to us to decipher.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|