Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Treeview Control Controlling scrollbars

Posted on 2004-04-26
8
377 Views
Last Modified: 2010-04-17
Hi,
I would like to turn off the horizontal scrollbar on the Treeview control and allow only the vertical scrollbar to show when neccessary.  Is there any way to do this?

Thanks
0
Comment
Question by:eddyevations
  • 3
  • 3
8 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 10926543
Is it a Windows Form TreeView or an IE Web control TreeView?
0
 

Author Comment

by:eddyevations
ID: 10929048
Windows Forms Treeview
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10930546
As far as I know, it only contains a Scrollable property which can be set to true or false. If you set it to true, then horizontal and vertical scrollbars will appear as and when needed, and if it is false, then they will not appear.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:eddyevations
ID: 10932213
Thanks...Yes, this seems true...is there another treeview control available that allows you to display only the vertical scrollbar?
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 150 total points
ID: 10936330
None that I know of. If you want, you can try the ListView but I'm not sure if that'll suit your requirements.
0
 

Author Comment

by:eddyevations
ID: 10941490
I am just gonna leave this open for a while and see if anyone else knows...thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 94
firstswap challenge 20 82
draw a Christmas tree by using a nested loop? 26 76
Restore Windows 7 Snipping Tool function to Windows 10 10 75
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question