We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wanna get rid of the scrollbar...

Thread ID:





38158 Dec 7,2005 10:51 AM UTC Dec 9,2005 10:20 AM UTC WinForms 3
Tags: Tools
Asked On December 7, 2005 10:51 AM UTC

Hello, I have a TreeViewAdv control with checkboxes and optionbuttons. I fill the control on Form_Load event. The control is shown with scrollbar. How can i get rid of the scroll bar? Thanks in advance. Regards, Sam

Deepa TS [Syncfusion]
Replied On December 7, 2005 01:14 PM UTC

Hi Sam, You could use the following code snippet in the form load event to disable the AutoScroll function in both directions. this.treeViewAdv1.AutoScrolling= System.Windows.Forms.ScrollBars.None; this.treeViewAdv1.VScroll = false; this.treeViewAdv1.HScroll = false; Please take a look at the attached sample. And let me know if this meets your requirement.Thanks for your interest in Syncfusion products. Regards, Deepa.T.S


Replied On December 8, 2005 12:29 PM UTC

Hello Deepa, Thanks a lot. Its working fine now. Regards, sam

Deepa TS [Syncfusion]
Replied On December 9, 2005 10:20 AM UTC

Hi Sam, Thanks for the update. Thanks for your interest in Syncfusion products. Regards, Deepa.T.S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon