Wanna get rid of the scrollbar...

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

3 Replies

DT Deepa TS Syncfusion Team 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


SA Sam December 8, 2005 12:29 PM UTC

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


DT Deepa TS Syncfusion Team December 9, 2005 10:20 AM UTC

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

Loader.
Up arrow icon