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.
Syncfusion Feedback

Wanna get rid of the scrollbar...

Thread ID:

Created:

Updated:

Platform:

Replies:

38158 Dec 7,2005 10:51 AM UTC Dec 9,2005 10:20 AM UTC Windows Forms 3
loading
Tags: Tools
Sam
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

ScrollBars.zip

Sam
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

CONFIRMATION

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.

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

;