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

VScrollBar width

Thread ID:

Created:

Updated:

Platform:

Replies:

15358 Jun 16,2004 04:52 PM UTC Jun 16,2004 05:53 PM UTC Windows Forms 1
loading
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.

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

;