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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

VScrollBar width

Thread ID:





15358 Jun 16,2004 04:52 PM UTC Jun 16,2004 05:53 PM UTC WinForms 1
Tags: GridControl
Lee Perkins
Asked On June 16, 2004 04:52 PM UTC

How can I get the width of a GDBG''s Vertical Scroll Bar (if one is visible)? I tried checking grid.VScrollBar.InnerScrollBar. It seems to be Nothing (in VB) if there''s no visible scroll bar. But when there is a visible InnerScrollBar, dbgAddOns.VScrollBar.InnerScrollBar.Width is always 0. ----- Lee Perkins

Administrator [Syncfusion]
Replied On June 16, 2004 05:53 PM UTC

If you just want the width, you can use SystemInformation.VerticalScrollbarWidth. If you want to try to set the width to something other than the system default, then you can use the technique in this sample. Grid\Samples\Quick Start\ScrollBars. It hides teh default scrollbars, and lets you use standard Windows Forms ScrollBars to manage the scrolling in a grid.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon