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.
Unfortunately, activation email could not send to your email. Please try again.

Wanna get rid of the scrollbar...

Thread ID:





38158 Dec 7,2005 05:51 AM Dec 9,2005 05:20 AM Windows Forms 3
Tags: Tools
Asked On December 7, 2005 05:51 AM

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 08:14 AM

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 07:29 AM

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

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

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.

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.