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.
ADAdministrator Syncfusion Team June 16, 2004 01:53 PM
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.